-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
31 lines (25 loc) · 865 Bytes
/
.env.example
File metadata and controls
31 lines (25 loc) · 865 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
30
31
# Root docker-compose defaults. Copy to .env and replace empty secrets before boot.
NODE_ENV=production
BACKEND_PORT=3001
DB_PORT=5432
DB_USER=tweetly
DB_PASS=tweetly
DB_NAME=tweetly
DATABASE_URL=postgres://tweetly:tweetly@postgres:5432/tweetly
# Required: 32-byte base64 or 64-char hex. Backend fails fast when empty.
# Generate: node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
ENCRYPTION_KEY=
X_EXECUTOR_MODE=noop
APP_URL=http://localhost:3000
CORS_ORIGINS=http://localhost:3000
# Bootstrap-only. Write secrets.admin_token through /admin/secrets, then remove.
BOOTSTRAP_ADMIN_TOKEN=
BOOTSTRAP_ADMIN_EMAIL=admin@tweetly.local
# Required only for 2+ backend instances.
REDIS_URL=
LOGIN_WORKER_DISABLED=false
LOGIN_STEP_TIMEOUT_MS=20000
LOGIN_NAV_TIMEOUT_MS=45000
LOGIN_DEBUG_HEADFUL=false
LOGIN_DEBUG_SLOWMO_MS=0
LOGIN_USER_AGENT=