Containers should restart on failure
@@ -16,6 +16,7 @@ services:
init: true
extra_hosts:
- "host.docker.internal:host-gateway"
+ restart: on-failure
bot:
build:
dockerfile: bot/Dockerfile
@@ -29,3 +30,4 @@ services:
deploy:
replicas: ${CLUSTER_COUNT:-1}
init: true
+ restart: on-failure
