docs(cheatsheet): update multi-stack isolation section with full container name var list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,10 @@ To run multiple stacks (`test`, `bak`, `prod`) on one host, you **must** assign
|
||||
|
||||
## 🏗️ Multi-Stack Isolation
|
||||
1. **Network Name:** Set `AE_NETWORK_NAME=ae_test_net` (etc) to prevent Docker network name collisions.
|
||||
2. **Container Names:** Set `CONTAINER_` variables (e.g., `CONTAINER_WEB=ae_web_test`) to prevent Docker from refusing to start "conflicting" containers.
|
||||
2. **Container Names:** All service container names are now `.env` variables with `:-default` fallbacks. Set unique values per stack:
|
||||
- `CONTAINER_WEB`, `CONTAINER_REDIS`, `CONTAINER_DOZZLE`
|
||||
- `CONTAINER_MARIADB`, `CONTAINER_PMA`, `CONTAINER_AE_OPS` (database profile only)
|
||||
- Note: `ae_api` and `ae_app` use `scale` — Docker does not allow `container_name` on scaled services.
|
||||
3. **Internal Shared Net:** All stacks must connect to `aether_shared_net` to reach a shared MariaDB/Redis.
|
||||
|
||||
## 💾 Database Operations
|
||||
|
||||
Reference in New Issue
Block a user