[fix] caddy: use the right docker image ( caddy:2-alpine )
volume ./Caddyfile:/etc/caddy/Caddy is read only.
This commit is contained in:
parent
c498dcf04d
commit
5a82f74b8d
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue