- 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>
37 lines
688 B
Plaintext
37 lines
688 B
Plaintext
# 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
|