Backend CI / type-check, build, tests (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
671 B
Bash
20 lines
671 B
Bash
# Server — production trial uses PORT=3000
|
|
PORT=3000
|
|
HOST=0.0.0.0
|
|
NODE_ENV=development
|
|
|
|
# CORS — exact browser origin(s); comma-separated for multiple trial hosts
|
|
CORS_ORIGIN=http://localhost:5174
|
|
|
|
# SQLite — persistent path (container: /app/data/app.db)
|
|
# DB_PATH=/app/data/app.db
|
|
# DATABASE_PATH=/app/data/app.db
|
|
|
|
# JWT — required in production (min 32 chars, not a placeholder below)
|
|
JWT_SECRET=gold-land-dev-secret-change-in-production
|
|
|
|
# Only when behind a known reverse proxy (optional in development)
|
|
# TRUST_PROXY=false
|
|
# Required in production when TRUST_PROXY=true — set your proxy/Docker network CIDR(s), not empty:
|
|
# TRUST_PROXY_CIDRS=172.20.0.0/16
|