Restart caddy service on-failure
This commit is contained in:
parent
f2736e1e19
commit
83f465995f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue