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) <noreply@anthropic.com>
This commit is contained in:
2
setup.py
2
setup.py
@@ -1094,7 +1094,7 @@ POSTGRES_PASSWORD={pg_pw}
|
|||||||
DATABASE_URL=postgresql+asyncpg://postgres:{pg_pw}@postgres:5432/{db}
|
DATABASE_URL=postgresql+asyncpg://postgres:{pg_pw}@postgres:5432/{db}
|
||||||
SYNC_DATABASE_URL=postgresql+psycopg2://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}
|
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 ---
|
# --- Security ---
|
||||||
JWT_SECRET_KEY={config['jwt_secret']}
|
JWT_SECRET_KEY={config['jwt_secret']}
|
||||||
|
|||||||
Reference in New Issue
Block a user