Skip to content

Commit 6fb70f1

Browse files
committed
feat: Updated template env
1 parent 90aa959 commit 6fb70f1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

template.env

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
GRAPH_DB_URI='bolt://neo4j:7687'
33
VULN_DB_URI='mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin'
44
ALLOWED_ORIGINS='["http://securechain-gateway:8000"]'
5+
GATEWAY_ALLOWED_ORIGINS='["http://localhost:3000"]' # Change in production
56

67
# Databases settings
78
GRAPH_DB_USER='neo4j'
@@ -10,11 +11,12 @@ VULN_DB_USER='mongoSecureChain'
1011
VULN_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
2022
GITHUB_GRAPHQL_API_KEY='add_your_api_key'

0 commit comments

Comments
 (0)