Files
wyndham-Condon/deploy/.env.production.example
2026-08-03 11:25:55 +08:00

27 lines
660 B
Plaintext

# Frontend
FRONTEND_PORT=8080
CONDO_API_BASE_URL=/api
CONDO_DEFAULT_MODE=api
CONDO_PERIOD_YEAR=
# Backend
NODE_ENV=production
LOG_LEVEL=info
CORS_ORIGINS=http://localhost:8080
AUTH_USERNAME=wyndhamcondon
AUTH_PASSWORD=replace-with-test-password
AUTH_SESSION_TTL_HOURS=12
# Set true only when the public frontend is served over HTTPS.
AUTH_COOKIE_SECURE=false
# Existing PostgreSQL. DB_HOST must be reachable from inside the backend container.
DB_HOST=replace-with-existing-pg-host
DB_PORT=5432
DB_USER=replace-with-existing-pg-user
DB_PASSWORD=replace-with-existing-pg-password
DB_NAME=booking_test
DB_SSL=false
DB_POOL_MAX=10
DB_STATEMENT_TIMEOUT_MS=15000