Restart caddy service on-failure
This commit is contained in:
parent
f2736e1e19
commit
83f465995f
|
@ -5,6 +5,7 @@ services:
|
||||||
caddy:
|
caddy:
|
||||||
container_name: caddy
|
container_name: caddy
|
||||||
image: caddy:2-alpine
|
image: caddy:2-alpine
|
||||||
|
restart: on-failure
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||||
|
|
Loading…
Reference in New Issue