forked from MentorsMind/MentorsMind-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.staging
More file actions
44 lines (34 loc) · 1.17 KB
/
Copy path.env.staging
File metadata and controls
44 lines (34 loc) · 1.17 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# .env.staging — staging environment template
# Fill in real staging values. Never commit this file with real secrets.
# In CI/CD, inject secrets via SECRETS_PROVIDER=aws or SECRETS_PROVIDER=vault.
NODE_ENV=staging
PORT=5000
API_VERSION=v1
DATABASE_URL=postgresql://USER:PASSWORD@staging-db-host:5432/mentorminds_staging
DB_HOST=staging-db-host
DB_PORT=5432
DB_NAME=mentorminds_staging
DB_USER=mentorminds_staging
DB_PASSWORD=INJECTED_BY_SECRETS_PROVIDER
JWT_SECRET=INJECTED_BY_SECRETS_PROVIDER
JWT_EXPIRES_IN=7d
JWT_REFRESH_SECRET=INJECTED_BY_SECRETS_PROVIDER
JWT_REFRESH_EXPIRES_IN=30d
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
CORS_ORIGIN=https://staging.mentorminds.com
REDIS_URL=redis://staging-redis-host:6379
LOG_LEVEL=info
# Secrets management — choose one:
SECRETS_PROVIDER=aws
AWS_REGION=us-east-1
AWS_SECRET_ID=mentorminds/staging/app-secrets
# -- OR --
# SECRETS_PROVIDER=vault
# VAULT_ADDR=https://vault.internal
# VAULT_TOKEN=INJECTED_BY_CI
# VAULT_SECRET_PATH=secret/data/mentorminds/staging
SENTRY_DSN=https://your-staging-dsn@sentry.io/project-id
AWS_S3_BUCKET=test-bucket
AWS_ACCESS_KEY_ID=test-key
AWS_SECRET_ACCESS_KEY=test-secret