fix(infra): rename pgweb DATABASE_URL to PGWEB_DATABASE_URL #62

Merged
julien merged 1 commits from fix/infra/pgweb-env-var into main 2026-05-08 22:58:22 +02:00
Showing only changes of commit ddddbc592b - Show all commits
+4 -1
View File
@@ -103,7 +103,10 @@ services:
restart: unless-stopped
profiles: [dbtools]
environment:
DATABASE_URL: postgres://${POSTGRES_USER:-portal}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB:-portal_dev}?sslmode=disable
# `PGWEB_DATABASE_URL` (formerly `DATABASE_URL`) — pgweb 0.16
# deprecated the old name, ignores it, and starts up empty,
# crashing with "Invalid URL".
PGWEB_DATABASE_URL: postgres://${POSTGRES_USER:-portal}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB:-portal_dev}?sslmode=disable
ports:
- '${PGWEB_PORT:-8081}:8081'
depends_on: