[fix] caddy: use the right docker image ( caddy:2-alpine )

volume ./Caddyfile:/etc/caddy/Caddy is read only.
This commit is contained in:
Dalf 2020-07-11 20:18:20 +02:00
parent c498dcf04d
commit 5a82f74b8d
1 changed files with 2 additions and 3 deletions

View File

@ -4,11 +4,10 @@ services:
caddy: caddy:
container_name: caddy container_name: caddy
image: caddy/caddy:2-alpine image: caddy:2-alpine
network_mode: host network_mode: host
command: caddy run -config /etc/caddy/Caddyfile
volumes: volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:rw - ./Caddyfile:/etc/caddy/Caddyfile:ro
- searx-checker:/srv/searx-checker:rw - searx-checker:/srv/searx-checker:rw
- caddy-data:/data:rw - caddy-data:/data:rw
- caddy-config:/config:rw - caddy-config:/config:rw