Docker compose setup not starting on intranet vm
Description
- Every time the tsm.intranet.ufz.de reboots the docker compose setup does not automatically starts
- Possible solution: Change the restart policy to
alwayse
, see https://docs.docker.com/compose/compose-file/05-services/#restart
Task
- Update the
docker-compose.yml
so that all services have the samerestart: "${RESTART}"
- Note: some services have the
hard
-writtenrestart: on-failure
- Note: some services have the
- Change
RESTART=always
in the.env
on thetsm.intranet.ufz.de
- ?What about the
init
service? Does he need to be run once again? - Test it:
- Make the vm reboot (e.g. ask Hannes how to do it)
- Make sure that all services are starting again
- If successful: create a similar issue for the prod vm