Closed esip-lab closed 4 years ago
@carueda time to touch bases on this next week?
@abburgess apologies for the delay to respond..
As a quick "solution" I just set the following cronjob under cor-admin1:
@reboot sleep 60s && docker start mongo agraph orr
It's not the most elegant or efficient but it has proved useful in the past.
systemd
would be a possible better approach, could you help doing some research about using it to start docker containers (note: I assume the docker engine itself is already being started at boot time)?
Sure, I can do some reading!
Just taking note of relevant references:
It looks like docker and docker-compose already provide settings to indicate automatic container restart.
Thanks @lewismc for closing.
To be clear, this was actually resolved a while ago: No need for cronjob; and restart: always
was added for the various services in docker-compose.
Carlos and Annie will touch bases on this.