Make the container always restart unless explicitly stopped.

This commit is contained in:
Daniel Ceregatti 2023-02-22 21:21:25 -08:00
parent 40fce24641
commit 28a741ffba

View file

@ -22,9 +22,8 @@ services:
# - 2303:2303/udp
# - 2304:2304/udp
# - 27016:27016/udp
# Restart the server if it should exit non zero.
# A zero exit means a normal shutdown.
restart: on-failure
# Always restart, unless stopped
restart: unless-stopped
# Allows attaching a debugger from the host
# cap_add:
# - SYS_PTRACE