# ── Production (Coolify) ──────────────────────────────────────────────────── # DATABASE_URL must include the password. Special characters must be # percent-encoded so the URL parser handles them correctly: # # → %23 ] → %5D = → %3D @ → %40 # # Example with password "p#ss]w=rd": # DATABASE_URL=postgres://wc:p%23ss%5Dw%3Drd@db:5432/worldcup # # DB_PASSWORD is used ONLY by the Postgres container (no encoding needed). DATABASE_URL=postgres://wc:changeme@db:5432/worldcup 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 ───────────────────────────────────────────────────────── # DATABASE_URL=postgres://wc:wc@localhost:5432/worldcup