-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
27 lines (25 loc) · 882 Bytes
/
.env.production.example
File metadata and controls
27 lines (25 loc) · 882 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
NODE_ENV=production
PORT=3000
SERVE_UI=false
ALLOWED_ORIGINS=https://gateherald.internal
FRONTEND_ONLY_API=true
API_TOKEN=replace_me
ADMIN_PROXY_SHARED_SECRET=replace_me_with_admin_proxy_shared_secret
# Optional app-level frontend login/logout flow
# FRONTEND_AUTH_ENABLED=true
# FRONTEND_AUTH_USERNAME=gateadmin
# FRONTEND_AUTH_PASSWORD=replace_me
# FRONTEND_AUTH_SESSION_SECRET=replace_with_long_random_secret
# FRONTEND_AUTH_SESSION_TTL_MINUTES=480
# DEBUG_TRANSFORMED_PAYLOAD=false
# Database defaults to SQLite if no DB settings are provided.
# For production, prefer an internal Postgres/MySQL endpoint.
# DATABASE_URL=postgres://gateherald_user:strong_password@db.internal:5432/gateherald
# DB_DIALECT=postgres
# DB_HOST=db.internal
# DB_PORT=5432
# DB_NAME=gateherald
# DB_USER=gateherald_user
# DB_PASSWORD=strong_password
# DB_SSL=true
# DB_SSL_REJECT_UNAUTHORIZED=true