Skip to content

Commit d53c7ac

Browse files
committed
fix: Changed env file template
1 parent 7f965ba commit d53c7ac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

local-deployment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The first you need is to create an enviroment `(.env)` file from this template:
1616
GRAPH_DB_URI='bolt://neo4j:7687'
1717
VULN_DB_URI='mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin'
1818
ALLOWED_ORIGINS='["http://securechain-gateway:8000"]'
19+
GATEWAY_ALLOWED_ORIGINS='["http://localhost:3000"]' # Change in production
1920

2021
# Databases settings
2122
GRAPH_DB_USER='neo4j'
@@ -24,6 +25,7 @@ VULN_DB_USER='mongoSecureChain'
2425
VULN_DB_PASSWORD='mongoSecureChain'
2526

2627
# Secrets for JWT
28+
SECURE='FALSE' # Set to True in production
2729
ALGORITHM='your_preferred_algorithm' # e.g., 'HS256'
2830
ACCESS_TOKEN_EXPIRE_MINUTES='access_token_expire_minutes'
2931
REFRESH_TOKEN_EXPIRE_DAYS='refresh_token_expire_days'

0 commit comments

Comments
 (0)