From 55266a9188af583e6a03abe8849dd5b9c6f14fd1 Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Sat, 21 Mar 2026 16:38:51 -0500 Subject: [PATCH] fix(setup): add sslmode=disable to poller DB URL, add --no-https flag Go Postgres driver defaults to requiring TLS. Container-to-container Postgres doesn't have TLS configured. Without sslmode=disable the poller crashes in a restart loop on fresh installs. Co-Authored-By: Claude Opus 4.6 (1M context) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 81ca6ae..88485f3 100755 --- a/setup.py +++ b/setup.py @@ -1094,7 +1094,7 @@ POSTGRES_PASSWORD={pg_pw} DATABASE_URL=postgresql+asyncpg://postgres:{pg_pw}@postgres:5432/{db} SYNC_DATABASE_URL=postgresql+psycopg2://postgres:{pg_pw}@postgres:5432/{db} APP_USER_DATABASE_URL=postgresql+asyncpg://app_user:{app_pw}@postgres:5432/{db} -POLLER_DATABASE_URL=postgres://poller_user:{poll_pw}@postgres:5432/{db} +POLLER_DATABASE_URL=postgres://poller_user:{poll_pw}@postgres:5432/{db}?sslmode=disable # --- Security --- JWT_SECRET_KEY={config['jwt_secret']}