zipline: CORE_DATABASE_URL -> DATABASE_URL (v4 dropped the prefix for the DB var)
zipline crash-looped 15 times on a fresh deploy: ERROR config::readDbVars] No database environment variables found (DATABASE_URL or all of [DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_HOST, DATABASE_PORT, DATABASE_NAME]), exiting... In Zipline v4 the database variable is DATABASE_URL with NO prefix, while CORE_SECRET kept its prefix (confirmed against the upstream config docs) -- so only the DB variable was renamed here. The template was already pinned to the v4 line (4.0.0) before this campaign, and v4 has always required DATABASE_URL, so zipline has been undeployable from the catalog for the whole v4 series. PRE-EXISTING defect, surfaced by the sweep. 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:
@@ -19,7 +19,11 @@ services:
|
||||
environment:
|
||||
- TZ=Europe/Budapest
|
||||
- CORE_SECRET=${CORE_SECRET}
|
||||
- CORE_DATABASE_URL=postgresql://zipline:${DB_PASSWORD}@zipline-postgres:5432/zipline
|
||||
# FIGYELEM: a v4 óta a DB változó neve DATABASE_URL (prefix NÉLKÜL), míg a
|
||||
# CORE_SECRET megtartotta a prefixet. A régi CORE_DATABASE_URL nevet a v4
|
||||
# már nem ismeri fel, és indulás nélkül kilép:
|
||||
# "No database environment variables found (DATABASE_URL or all of [...])"
|
||||
- DATABASE_URL=postgresql://zipline:${DB_PASSWORD}@zipline-postgres:5432/zipline
|
||||
volumes:
|
||||
- zipline_uploads:/zipline/uploads
|
||||
- zipline_public:/zipline/public
|
||||
|
||||
Reference in New Issue
Block a user