11# For dockerized frontend, backend and database
2- GRAPH_DB_URI = ' bolt://neo4j:7687'
3- VULN_DB_URI = ' mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin'
4- DOCS_URL = ' /docs' # Comment this on production
5- SERVICES_ALLOWED_ORIGINS = ' ["http://securechain-gateway:8000"]'
6- GATEWAY_ALLOWED_ORIGINS = ' ["http://securechain-frontend"]'
2+ GRAPH_DB_URI = bolt://neo4j:7687
3+ VULN_DB_URI = mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin
4+ DOCS_URL = /docs # Comment this on production
5+ SERVICES_ALLOWED_ORIGINS = ["http://securechain-gateway:8000"]
6+ GATEWAY_ALLOWED_ORIGINS = ["http://securechain-frontend"]
77BACKEND_URL = http://securechain-gateway:8000
8- NODE_ENV = development # Change to ' production' for production builds
8+ NODE_ENV = development # Change to production for production builds
99
1010# Databases settings
11- GRAPH_DB_USER = ' neo4j'
12- GRAPH_DB_PASSWORD = ' neoSecureChain'
13- VULN_DB_USER = ' mongoSecureChain'
14- VULN_DB_PASSWORD = ' mongoSecureChain'
11+ GRAPH_DB_USER = neo4j
12+ GRAPH_DB_PASSWORD = neoSecureChain
13+ VULN_DB_USER = mongoSecureChain
14+ VULN_DB_PASSWORD = mongoSecureChain
1515
1616# Secrets for JWT
1717SECURE_COOKIES = False # Set to True in production
18- ALGORITHM = ' your_preferred_algorithm' # e.g., ' HS256'
19- ACCESS_TOKEN_EXPIRE_MINUTES = ' access_token_expire_minutes'
20- REFRESH_TOKEN_EXPIRE_DAYS = ' refresh_token_expire_days'
21- JWT_ACCESS_SECRET_KEY = ' your_access_secret_key'
22- JWT_REFRESH_SECRET_KEY = ' your_refresh_secret_key'
18+ ALGORITHM = your_preferred_algorithm # e.g., HS256
19+ ACCESS_TOKEN_EXPIRE_MINUTES = access_token_expire_minutes
20+ REFRESH_TOKEN_EXPIRE_DAYS = refresh_token_expire_days
21+ JWT_ACCESS_SECRET_KEY = your_access_secret_key
22+ JWT_REFRESH_SECRET_KEY = your_refresh_secret_key
2323
2424# Api key for github services
25- GITHUB_GRAPHQL_API_KEY = ' add_your_api_key'
25+ GITHUB_GRAPHQL_API_KEY = add_your_api_key
2626
2727# Dockerized Redis Configuration (for Dagster integration)
2828REDIS_HOST = redis
@@ -37,8 +37,8 @@ REDIS_CONSUMER=package-consumer
3737# - quiet|q|silence|s|silent|none|n|0: for no message or exception
3838# - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
3939# - error|e|exception|raise|r|2: for a raised exception
40- GIT_PYTHON_REFRESH = ' select_your option'
41- GIT_CONFIG_SYSTEM = ' /dev/null'
42- GIT_CONFIG_GLOBAL = ' /dev/null'
40+ GIT_PYTHON_REFRESH = select_your option
41+ GIT_CONFIG_SYSTEM = /dev/null
42+ GIT_CONFIG_GLOBAL = /dev/null
4343GIT_LFS_SKIP_SMUDGE = 1
44- GIT_TEMPLATE_DIR = ' '
44+ GIT_TEMPLATE_DIR =
0 commit comments