Caddy: Add config to image instead of using a volume

This commit is contained in:
Gernot Schulz 2021-02-05 17:26:36 +01:00
parent 470168c58c
commit 40dc0e08fa
2 changed files with 3 additions and 2 deletions

3
caddy/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM caddy:2.3.0-alpine
COPY Caddyfile /etc/caddy/

View File

@ -47,8 +47,6 @@ services:
caddy:
image: caddy:2.3.0-alpine
volumes:
- ../caddy/Caddyfile:/etc/caddy/Caddyfile
depends_on:
- client
- server