Loading
Add restart policy to six services in docker-compose-capif.yml
Closes #242 (closed)
Description
Adds restart: unless-stopped to the six services in services/docker-compose-capif.yml that had no restart policy: redis, api-provider-management, capif-events, capif-routing-info, celery_worker, celery_beat. All other services already use it.
Why this is needed
After a host reboot or a Docker daemon restart, services without a policy stay down. If Redis stays down, the services that depend on it fail at start-up.
Checked
docker compose configvalidates withvariables.shloaded.- Every service now has a
restartentry; the diff is 6 added lines and nothing else. - On our v5 deployment, the same policy (set with
docker update) kept all containers up across a VM reboot. - A deployment with this updated restart policy is tested and running in our testbed VM.