server
server copied to clipboard
Add "restart: always" option in docker-compose.yml
Would it be relevant to add the restart: always option on every docker service listed in docker-compose.yml ? So if the server stop or restart, mergin docker service will be available on restart.
Hi @arno974, just adding my 2 cents here.
On my side, I'm more on the restart: unless-stopped
side, but also have all the env variables defined in a .env referenced in the docker-compose.yml with a env_file: docker/.env
directive
It was added https://github.com/MerginMaps/mergin/blob/master/docker-compose.yml.