sightbox/playbook
JasonFraser c8be366015 Fix marketing container staleness for real: recreate on every deploy, not just HTML edits
Found live: box.bettersight.io's hero image 404'd again after a deploy
that touched zero marketing-related files (a dev.sh/prod.sh/tests-only
commit). Root cause was deeper than the original content-hash fix
assumed — Dokploy re-clones the ENTIRE git checkout on every deploy, not
just ones that change bettersightbox-index.html, which orphans
marketing's assets/ directory bind mount (the container's mount still
points at the old, now-deleted directory inode) whenever the container
itself isn't also recreated in that same deploy. A hash of one file's
content only caught deploys that touched that file.

Fix: generate-dokploy-compose.sh now bakes in the current git commit SHA
instead, so the content-hash label (and the recreate it forces) changes
on every single deploy, unconditionally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:56:39 -04:00
..
ARCHITECTURE_GUIDE.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
BACKUP_RESTORE.md Make backup/.env durable under Dokploy via BACKUP_ENV_FILE override 2026-10-03 23:42:03 -04:00
CICD_PLAYBOOK.md Fix marketing container staleness for real: recreate on every deploy, not just HTML edits 2026-10-04 17:56:39 -04:00
CLIENT_DEMO_GUIDE.md Drop Technician system accounts; document Stock Viewer across the personas 2026-10-03 23:03:00 -04:00
CONSUMABLES_DEMO_GUIDE.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
DEVELOPER_GUIDE.md Document manual billing restore when a client isn't on real Stripe yet 2026-10-03 23:31:12 -04:00
ENTERPRISE_STANDARDS.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
INSTALLATION_PLAYBOOK.md Fix INSTALLATION_PLAYBOOK.md: backend-billing pull_policy must be always, not missing 2026-10-04 16:17:29 -04:00
playbook.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00