24 lines
823 B
Plaintext
24 lines
823 B
Plaintext
NODE_ENV=development
|
|
PORT=3000
|
|
DATABASE_URL=postgresql://mani:mani_local@localhost:5432/mani_candles
|
|
CORS_ORIGINS=http://localhost:3001
|
|
|
|
SESSION_TTL_MINUTES=480
|
|
RECOVERY_TTL_MINUTES=15
|
|
# Optional recovery email: configure all five values together.
|
|
# SMTP_HOST=smtp.example.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USER=replace_me
|
|
# SMTP_PASSWORD=replace_me
|
|
# SMTP_FROM=support@example.com
|
|
# RECOVERY_URL=https://shop.example.com/reset
|
|
DATABASE_POOL_SIZE=10
|
|
|
|
# Reverse proxies whose X-Forwarded-For is trusted for client IPs (rate limits).
|
|
# Comma-separated IPs, CIDRs, or loopback/linklocal/uniquelocal. Empty = trust none.
|
|
# Behind the local Nginx plus the frontend server's Nginx, list both hops, e.g.:
|
|
# TRUST_PROXY=loopback,172.17.0.0/16,<frontend server IP>
|
|
|
|
# Optional; defaults to true only in development.
|
|
# SWAGGER_ENABLED=true
|