- Variant B: docker-compose.yml gets configurable host ports and health checks. Variant A: deploy/allinone image (nginx, supervisord, gunicorn, uvicorn, gatherer, OpenVPN) with an explicit database migration step before any service; docker-compose.allinone.yml. Same five volumes and paths in both variants. - deploy/docker: install.sh, update.sh (backup, build, stop, separate DB migration phase, start, automatic rollback), backup.sh, restore.sh, lib.sh. - Verified on Docker: install A/B, update with pre-versioned databases, rollback after an injected failure, backup/restore. - Docs: Scenario1_Containers guide, change summary, README, Index; .dockerignore, .gitignore additions. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
550 B
550 B
Deployment: Docker
The container deployment (all components in one container, or one container per component), its install and update scripts, backup and rollback are described in Scenario 1: installation in containers.
Quick start (variant B, one container per component, docker-compose.yml):
deploy/docker/install.sh --variant b # variant A (one container): --variant a
deploy/docker/update.sh # later updates: backup, build, separate database migration, start