# ── 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. DB_PASSWORD=changeme # Traefik (set TRAEFIK_ENABLED=true when deploying behind Traefik) TRAEFIK_ENABLED=false TRAEFIK_HOST=worldcup.example.com NETWORK_NAME=traefik-network # ── 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