2021-12-17 09:38:07 -07:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
2022-09-04 17:12:30 -06:00
|
|
|
caddy:
|
|
|
|
image: caddy
|
2021-12-17 09:38:07 -07:00
|
|
|
ports:
|
|
|
|
- target: 80
|
|
|
|
published: 80
|
|
|
|
mode: host
|
|
|
|
- target: 443
|
|
|
|
published: 443
|
|
|
|
mode: host
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
2022-09-04 17:12:30 -06:00
|
|
|
source: /srv/caddy
|
|
|
|
target: /data/caddy
|
2021-12-17 09:38:07 -07:00
|
|
|
- type: bind
|
2022-09-04 17:12:30 -06:00
|
|
|
source: /srv/www
|
|
|
|
target: /srv/www
|
|
|
|
read_only: true
|
|
|
|
configs:
|
|
|
|
- source: Caddyfile
|
|
|
|
target: /etc/caddy/Caddyfile
|
2021-12-17 09:38:07 -07:00
|
|
|
|
|
|
|
vail:
|
2022-09-04 17:12:30 -06:00
|
|
|
image: ghcr.io/nealey/vail:main
|
2021-12-17 09:38:07 -07:00
|
|
|
|
2022-09-04 17:12:30 -06:00
|
|
|
configs:
|
|
|
|
Caddyfile:
|
|
|
|
file: Caddyfile
|
|
|
|
name: Caddyfile-v5
|