Split Docker Compose into base/dev/prod/traefik overrides with multi-instance support

- Split docker-compose.yml into base config + environment overrides
  - docker-compose.dev.yml: port mappings for local development
  - docker-compose.prod.yml: external proxy-net network, no exposed ports
  - docker-compose.traefik.yml: optional Traefik auto-discovery labels
- Parameterize container and volume names with COMPOSE_PROJECT_NAME
  - Default: hub-dev (containers: hub-dev-api, volumes: hub-dev_hub_data)
  - Override per instance for multi-instance deployments (hub-prod, hub-beta)
- Add Makefile with build/up/down/logs/backup/restore targets
- Add TRAEFIK_DOMAIN env var for Traefik routing configuration
- Update UPGRADING.md with volume migration instructions (rename + copy methods)
- Update README.md with multi-instance deployment and backup/restore sections
This commit is contained in:
Louis King committed 2026-04-14 20:41:26 +01:00
1 parent 123dc180f0
commit f4648d7fe7
10 files changed
+440 -66

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
!example/data/
/seed/
!example/seed/
/backup/
/content/
# Byte-compiled / optimized / DLL files