File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 22GRAPH_DB_URI = ' bolt://neo4j:7687'
33VULN_DB_URI = ' mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin'
44ALLOWED_ORIGINS = ' ["http://securechain-gateway:8000"]'
5+ GATEWAY_ALLOWED_ORIGINS = ' ["http://localhost:3000"]' # Change in production
56
67# Databases settings
78GRAPH_DB_USER = ' neo4j'
@@ -10,11 +11,12 @@ VULN_DB_USER='mongoSecureChain'
1011VULN_DB_PASSWORD = ' mongoSecureChain'
1112
1213# Secrets for JWT
13- ALGORITHM = ' your_preferred_algorithm' # e.g., 'HS256'
14- ACCESS_TOKEN_EXPIRE_MINUTES = ' access_token_expire_minutes'
15- REFRESH_TOKEN_EXPIRE_DAYS = ' refresh_token_expire_days'
16- JWT_ACCESS_SECRET_KEY = ' your_access_secret_key'
17- JWT_REFRESH_SECRET_KEY = ' your_refresh_secret_key'
14+ SECURE = ' FALSE' # Set to True in production
15+ ALGORITHM = ' your_preferred_algorithm' # e.g., 'HS256'
16+ ACCESS_TOKEN_EXPIRE_MINUTES = ' access_token_expire_minutes'
17+ REFRESH_TOKEN_EXPIRE_DAYS = ' refresh_token_expire_days'
18+ JWT_ACCESS_SECRET_KEY = ' your_access_secret_key'
19+ JWT_REFRESH_SECRET_KEY = ' your_refresh_secret_key'
1820
1921# Api key for github services
2022GITHUB_GRAPHQL_API_KEY = ' add_your_api_key'
You can’t perform that action at this time.
0 commit comments