outline: set PGSSLMODE=disable (1.x defaults to SSL; the sidecar Postgres has none)

outline 1.9.1 crash-looped (15 restarts in 420s) on a fresh deploy:

  SequelizeConnectionError: The server does not support SSL connections
  Set the PGSSLMODE environment variable to 'disable' or enable SSL on your
  database server.

The stack's own Postgres sidecar is on the app-internal network and does not
serve SSL, so the correct answer is to disable it client-side. Env var proven
wrong by the deploy.

Campaign 7 catalog sweep.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE
This commit is contained in:
2026-07-19 00:42:28 +02:00
parent 9938c5564e
commit 4ce7beea9e
+4
View File
@@ -24,6 +24,10 @@ services:
- SECRET_KEY=${SECRET_KEY}
- UTILS_SECRET=${UTILS_SECRET}
- DATABASE_URL=postgres://outline:${DB_PASSWORD}@outline-postgres:5432/outline
# Az Outline 1.x alapértelmezésben SSL-t vár a Postgrestől. A stackben futó
# sidecar Postgres nem beszél SSL-t (belső hálózat), ezért enélkül az app
# indulási hurokba kerül: "The server does not support SSL connections".
- PGSSLMODE=disable
- REDIS_URL=redis://outline-redis:6379
- URL=https://${SUBDOMAIN}.${DOMAIN}
- PORT=3000