Caddy: Add config to image instead of using a volume
This commit is contained in:
parent
470168c58c
commit
40dc0e08fa
3
caddy/Dockerfile
Normal file
3
caddy/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM caddy:2.3.0-alpine
|
||||||
|
|
||||||
|
COPY Caddyfile /etc/caddy/
|
@ -47,8 +47,6 @@ services:
|
|||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:2.3.0-alpine
|
image: caddy:2.3.0-alpine
|
||||||
volumes:
|
|
||||||
- ../caddy/Caddyfile:/etc/caddy/Caddyfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- client
|
- client
|
||||||
- server
|
- server
|
||||||
|
Loading…
Reference in New Issue
Block a user