2026-06-14 15:58:48 +02:00
|
|
|
# ── Production (Coolify) ────────────────────────────────────────────────────
|
2026-06-14 17:01:06 +02:00
|
|
|
# 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
|
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
|
|
|
|
2026-06-14 17:01:06 +02:00
|
|
|
# ── Local development ─────────────────────────────────────────────────────────
|
2026-06-14 15:58:48 +02:00
|
|
|
# DATABASE_URL=postgres://wc:wc@localhost:5432/worldcup
|