Commit graph

5 commits

Author SHA1 Message Date
DJP
929929113b Pin compose project name to avoid collision with other /opt/<app>/deploy/ apps
Compose derives project name from parent dir by default — every app on
this server landed on project "deploy", sharing container names and
volume namespaces. Another app on the box just lost 2 days of data from
this exact issue.

Fix: name: salary-benchmark in docker-compose.prod.yml, plus -p on every
docker compose call in deploy-local.sh and deploy.sh.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 11:39:49 -04:00
DJP
468c936d30 Move URL subpath from /opt/ to /salary-benchmark/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 20:06:56 -04:00
DJP
8116886770 Put .env.prod next to compose file so env_file: resolves correctly
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 20:04:30 -04:00
DJP
5b85d7295f Default VHOST_FILE to sites-enabled path and resolve symlinks
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 20:02:26 -04:00
DJP
6564991cdf Add deploy-local.sh for in-place deploy on server
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 19:54:07 -04:00