fix: parsing url cassé par le mdp postgres

This commit is contained in:
Nathan FONTEYNE 2026-07-08 13:51:11 +02:00
parent f9198bcc3e
commit d159a4ef23
4 changed files with 26 additions and 9 deletions

View file

@ -1,9 +1,15 @@
NODE_ENV=production
PORT=3000
# Postgres
DATABASE_URL=postgres://octane:changeme@postgres:5432/octane
# Postgres — the app connects with these discrete fields (not a DATABASE_URL),
# so POSTGRES_PASSWORD can safely contain any character without needing
# URL-encoding. Only POSTGRES_PASSWORD needs to be set; the rest already
# match the "postgres" service in docker-compose.yml.
POSTGRES_PASSWORD=changeme
# PGHOST=postgres
# PGPORT=5432
# PGDATABASE=octane
# PGUSER=octane
# Sessions
SESSION_SECRET=change-me-to-a-long-random-string