-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test.example
More file actions
17 lines (15 loc) · 933 Bytes
/
Copy path.env.test.example
File metadata and controls
17 lines (15 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Profile overrides for the deployed staging environment (test).
# Export APP_ENV=test in the deployment platform to select this profile.
# Copy to .env.test (gitignored). Loaded after the base .env, so values here win.
# The automated test suite also runs under APP_ENV=test together with TESTING=1.
# Generate: openssl rand -hex 32 (set in the staging platform, never commit it)
SECRET_KEY=
DATABASE_URL=postgresql://user:password@host:5432/become_staging
# Optional: privileged URL used only by Alembic migrations (DDL), so DATABASE_URL
# above can run as a least-privilege role. Falls back to DATABASE_URL when unset.
MIGRATION_DATABASE_URL=
DEBUG=false
CORS_ORIGINS=["https://staging.your-domain.example"]
API_PUBLIC_URL=https://test-backend-staging.up.railway.app
# Railway injects bucket credentials when a bucket is attached to the service:
# BUCKET_NAME / BUCKET_ENDPOINT / BUCKET_ACCESS_KEY_ID / BUCKET_SECRET_ACCESS_KEY