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.ymlso that all services have the samerestart: "${RESTART}"- Note: some services have the
hard-writtenrestart: on-failure
- Note: some services have the
- Change
RESTART=alwaysin the.envon thetsm.intranet.ufz.de - ?What about the
initservice? 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