Skip to content

Commit 8558bdd

Browse files
committed
feat: Updated template env
1 parent 39c89fa commit 8558bdd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# For dockerized backend and database
22
GRAPH_DB_URI='bolt://neo4j:7687'
33
VULN_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
88
GRAPH_DB_USER='neo4j'
@@ -11,7 +11,7 @@ VULN_DB_USER='mongoSecureChain'
1111
VULN_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
1515
ALGORITHM='your_preferred_algorithm' # e.g., 'HS256'
1616
ACCESS_TOKEN_EXPIRE_MINUTES='access_token_expire_minutes'
1717
REFRESH_TOKEN_EXPIRE_DAYS='refresh_token_expire_days'

0 commit comments

Comments
 (0)