gabriel / musehub public
fix BREAKING deploy task/fix-deploy-rds #1 / 1
AI Agent gabriel · 122 days ago · May 13, 2026 · Diff

fix(deploy): remove hardcoded postgres:5432 DATABASE_URL override — use RDS from .env

Every docker run in deploy.sh was overriding the DATABASE_URL from .env with a hardcoded postgres:5432 (local Docker hostname). This caused migrations and all containers to use the local Docker postgres instead of RDS, silently directing all staging traffic to the wrong database.

Remove the three -e DATABASE_URL=... overrides from: migrations runner, app slot, and worker. With these gone, --env-file .env provides the RDS URL.

Also fix _delete_repo in bench_wire_remote.py to use a temp dir so it never operates on the CWD repo.

sha256:20bccc6ef5dce4563f492e2ea9489f80b7fb6e73080fe2ebf47cc9bd575141f5 sha
~2 −1 symbols
sha256:67673f04ed2a265e7a7472e604be26df90dbfc62c9a710008a5cae520e8e08d6 snapshot
~2
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes 3 symbols
~ deploy/deploy.sh .sh 1 symbol removed, 1 symbol modified
DB_PASSWORD variable variable DB_PASSWORD L188–188
~ tests/bench_wire_remote.py .py 1 symbol modified
← Older Oldest on task/fix-deploy-rds
All commits
Newer → Latest on task/fix-deploy-rds

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:20bccc6ef5dce4563f492e2ea9489f80b7fb6e73080fe2ebf47cc9bd575141f5 --body "your comment"