Merge pull request #75 from stelas/master

Restart Caddy automatically
This commit is contained in:
Émilien Devos 2021-03-29 12:27:18 +00:00 committed by GitHub
commit 7886223c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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