stacks/melville/docker-compose.yaml

33 lines
610 B
YAML

version: "3.8"
services:
caddy:
image: caddy
ports:
- target: 80
published: 80
mode: host
- target: 443
published: 443
mode: host
volumes:
- type: bind
source: /srv/caddy
target: /data/caddy
- type: bind
source: /srv/www
target: /srv/www
read_only: true
extra_hosts:
- host.docker.internal:host-gateway
configs:
- source: Caddyfile
target: /etc/caddy/Caddyfile
vail:
image: ghcr.io/nealey/vail:main
configs:
Caddyfile:
file: Caddyfile
name: Caddyfile-v6