-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.template
More file actions
29 lines (25 loc) · 945 Bytes
/
.env.template
File metadata and controls
29 lines (25 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# For dockerized backend and database
GRAPH_DB_URI=bolt://neo4j:7687
VULN_DB_URI=mongodb://mongoSecureChain:mongoSecureChain@mongo:27017/admin
DOCS_URL=/docs # Comment this on production
# Allow all origins for services (for development purposes)
SERVICES_ALLOWED_ORIGINS=["*"]
# Databases settings
GRAPH_DB_USER=neo4j
GRAPH_DB_PASSWORD=neoSecureChain
# Secrets for JWT
SECURE=False # Set to True in production
ALGORITHM='your_preferred_algorithm' # e.g., 'HS256'
ACCESS_TOKEN_EXPIRE_MINUTES='access_token_expire_minutes'
REFRESH_TOKEN_EXPIRE_DAYS='refresh_token_expire_days'
JWT_ACCESS_SECRET_KEY='your_access_secret_key'
JWT_REFRESH_SECRET_KEY='your_refresh_secret_key'
# Api key for github services
GITHUB_GRAPHQL_API_KEY=your_github_api_key_here
# Dockerized Redis Configuration (for Dagster integration)
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
REDIS_STREAM=package-extraction
REDIS_GROUP=extractors
REDIS_CONSUMER=package-consumer