Skip to content

Commit 9fbcc12

Browse files
committed
chore: rename env template file
1 parent 80f0b53 commit 9fbcc12

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

template.env renamed to .env.template

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# For dockerized backend and database
22
GRAPH_DB_URI=bolt://neo4j:7687
3-
VULN_DB_URI=mongodb://mongoSecureChain:mongoSecureChain@mongodb:27017/admin
3+
VULN_DB_URI=mongodb://mongoSecureChain:mongoSecureChain@mongo:27017/admin
44
DOCS_URL=/docs # Comment this on production
55
# Allow all origins for services (for development purposes)
66
SERVICES_ALLOWED_ORIGINS=["*"]
@@ -10,8 +10,12 @@ GRAPH_DB_USER=neo4j
1010
GRAPH_DB_PASSWORD=neoSecureChain
1111

1212
# Secrets for JWT
13-
ALGORITHM=your_preferred_algorithm # e.g., HS256
14-
JWT_ACCESS_SECRET_KEY=your_access_secret_key
13+
SECURE=False # Set to True in production
14+
ALGORITHM='your_preferred_algorithm' # e.g., 'HS256'
15+
ACCESS_TOKEN_EXPIRE_MINUTES='access_token_expire_minutes'
16+
REFRESH_TOKEN_EXPIRE_DAYS='refresh_token_expire_days'
17+
JWT_ACCESS_SECRET_KEY='your_access_secret_key'
18+
JWT_REFRESH_SECRET_KEY='your_refresh_secret_key'
1519

1620
# Api key for github services
1721
GITHUB_GRAPHQL_API_KEY=your_github_api_key_here

0 commit comments

Comments
 (0)