sightbox/backend
JasonFraser 76f43abad0 Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image
Confirmed the hard way against a live Dokploy AutoDeploy: the code/
checkout is deleted and re-cloned on every deploy, so backend/.env (an
env_file: mount) never survived to the next deploy. Moved its four values
to plain environment: vars sourced from Dokploy's own Environment tab,
which persists across deploys independent of the git-clone wipe.

Also switches backend-billing to the same build-locally-push-to-registry-
pull pattern already used for erpnext-image, so the Dokploy VPS never
builds anything itself (backend/build.sh) — the user's explicit goal of
making this resilient to future frappe_docker/dependency changes, not
just today's deploy error.

Propagated through docker-compose.yml/.dokploy.yml, .env + .env.example,
CLAUDE.md, INSTALLATION_PLAYBOOK.md, CICD_PLAYBOOK.md, BACKUP_RESTORE.md,
backup.sh/restore.sh, and .gitignore's comments.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-02 06:07:57 -04:00
..
amzqr Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
billing Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
qrcode Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
tests Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
.dockerignore Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
.gitignore Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
Dockerfile Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
app.py Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
build.sh Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
requirements.txt Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
tenants.example.json Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00