so it begins
This commit is contained in:
parent
3c6fa5e279
commit
3c9728b588
1 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
|
||||||
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:latest
|
image: caddy:latest
|
||||||
|
|
@ -9,7 +12,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/caddy/data:/data
|
- /docker/caddy/data:/data
|
||||||
- /docker/caddy/config:/config
|
- /docker/caddy/config:/config
|
||||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
- type: bind
|
||||||
|
source: ./Caddyfile
|
||||||
|
target: /etc/caddy/Caddyfile
|
||||||
|
read_only: true
|
||||||
networks:
|
networks:
|
||||||
- caddy_network
|
- caddy_network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue