Restart caddy service on-failure

This commit is contained in:
Steffen 2021-03-29 11:54:10 +02:00 committed by Steffen Lange
parent f2736e1e19
commit 83f465995f

View file

@ -5,6 +5,7 @@ services:
caddy:
container_name: caddy
image: caddy:2-alpine
restart: on-failure
network_mode: host
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro