2026-06-14 15:58:48 +02:00
|
|
|
# ── Production (Coolify) ────────────────────────────────────────────────────
|
|
|
|
|
# DB_PASSWORD is passed separately so special characters never need URL-encoding.
|
|
|
|
|
# DATABASE_URL is constructed inside docker-compose.yml and does NOT need to be
|
|
|
|
|
# set in Coolify — only DB_PASSWORD is required.
|
2026-06-14 15:36:44 +02:00
|
|
|
DB_PASSWORD=changeme
|
|
|
|
|
|
|
|
|
|
# Traefik (set TRAEFIK_ENABLED=true when deploying behind Traefik)
|
|
|
|
|
TRAEFIK_ENABLED=false
|
|
|
|
|
TRAEFIK_HOST=worldcup.example.com
|
|
|
|
|
NETWORK_NAME=traefik-network
|
2026-06-14 15:58:48 +02:00
|
|
|
|
|
|
|
|
# ── Local development ────────────────────────────────────────────────────────
|
|
|
|
|
# Set DATABASE_URL when running pnpm dev or pnpm sync on the host directly.
|
|
|
|
|
# The password can be plain-text here since it goes through the postgres driver,
|
|
|
|
|
# not URL parsing, when DB_PASSWORD is unset.
|
|
|
|
|
# DATABASE_URL=postgres://wc:wc@localhost:5432/worldcup
|