Scenario 1: container install and update (all-in-one and per-component)
- 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>
This commit is contained in:
1 parent
e556d6d4b9
commit
1c49d0b9c2
17 files changed
+1930
-50
No files matched your search
@@ -0,0 +1,36 @@
|
||||
# Build context of the all-in-one image (deploy/allinone/Dockerfile) is the repository root.
|
||||
# The per-component images (docker-compose.yml) use ./APP_UI, ./APP_CORE, ./APP_PROFILER as
|
||||
# their own contexts, so this file does not affect them.
|
||||
|
||||
# VCS, local environments, secrets
|
||||
.git
|
||||
.gitignore
|
||||
.claude
|
||||
.env
|
||||
**/.env
|
||||
venv
|
||||
**/venv
|
||||
**/.venv
|
||||
|
||||
# Runtime data and local state: never part of an image
|
||||
*.db
|
||||
**/*.db
|
||||
**/*.db.bak-*
|
||||
**/easy-rsa
|
||||
**/client-config
|
||||
**/staging
|
||||
backups
|
||||
.ovpmon-*
|
||||
**/*.log
|
||||
|
||||
# Build artefacts and caches
|
||||
**/node_modules
|
||||
**/dist
|
||||
**/__pycache__
|
||||
**/*.pyc
|
||||
**/.pytest_cache
|
||||
|
||||
# Documentation and the compose files are not needed inside the image
|
||||
DOCS
|
||||
README.md
|
||||
docker-compose*.yml
|
||||
Reference in new issue
Block a user