docs(ST-mmuwreer): README deploy-procedure force-recreate na compose-wijziging
Voeg subsectie toe in "Updaten" die uitlegt dat docker compose restart niet voldoende is bij volumes/tmpfs/ports-wijzigingen — force-recreate is verplicht. Inclusief verify-stap met df -h /var/cache.
This commit is contained in:
parent
0be746c712
commit
a7933f7420
1 changed files with 20 additions and 0 deletions
20
README.md
20
README.md
|
|
@ -114,6 +114,26 @@ docker compose up -d
|
||||||
Dezelfde flow voor schema-drift in scrum4me-mcp: pin een nieuwe
|
Dezelfde flow voor schema-drift in scrum4me-mcp: pin een nieuwe
|
||||||
`MCP_GIT_REF` in `.env` of in `docker-compose.yml`, rebuild.
|
`MCP_GIT_REF` in `.env` of in `docker-compose.yml`, rebuild.
|
||||||
|
|
||||||
|
### Wijzigingen in `docker-compose.yml` (volumes, tmpfs, env_file, ports)
|
||||||
|
|
||||||
|
> **Let op:** `docker compose restart` herstart alleen het proces in de
|
||||||
|
> bestaande container met de **oude** config. Wijzigingen in volumes,
|
||||||
|
> tmpfs-mounts, env_file of ports worden daarmee **niet** doorgevoerd.
|
||||||
|
|
||||||
|
Gebruik altijd `--force-recreate` als je `docker-compose.yml` is veranderd:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up -d --force-recreate agent
|
||||||
|
```
|
||||||
|
|
||||||
|
Verifieer daarna dat `/var/cache` op de NAS-overlay staat en **niet** op tmpfs:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker exec scrum4me-agent df -h /var/cache
|
||||||
|
# Verwacht: Filesystem op /dev/mapper/cachedev* of een NAS-share
|
||||||
|
# Fout: tmpfs 16M ... (dan is force-recreate niet uitgevoerd)
|
||||||
|
```
|
||||||
|
|
||||||
## Health-endpoint
|
## Health-endpoint
|
||||||
|
|
||||||
`GET http://<nas>:8080/health` retourneert:
|
`GET http://<nas>:8080/health` retourneert:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue