File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# For dockerized backend and database
22GRAPH_DB_URI = ' bolt://neo4j:7687'
33VULN_DB_URI = ' mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin'
4- ALLOWED_ORIGINS = ' ["http://securechain-gateway:8000"] '
5- GATEWAY_ALLOWED_ORIGINS = ' ["http://localhost:3000 "]' # Change in production
4+ DOCS_URL = ' /docs ' # Comment this on production
5+ SERVICES_ALLOWED_ORIGINS = ' ["http://securechain-gateway:8000 "]'
66
77# Databases settings
88GRAPH_DB_USER = ' neo4j'
@@ -11,7 +11,7 @@ VULN_DB_USER='mongoSecureChain'
1111VULN_DB_PASSWORD = ' mongoSecureChain'
1212
1313# Secrets for JWT
14- SECURE = ' FALSE ' # Set to True in production
14+ SECURE_COOKIES = False # Set to True in production
1515ALGORITHM = ' your_preferred_algorithm' # e.g., 'HS256'
1616ACCESS_TOKEN_EXPIRE_MINUTES = ' access_token_expire_minutes'
1717REFRESH_TOKEN_EXPIRE_DAYS = ' refresh_token_expire_days'
You can’t perform that action at this time.
0 commit comments