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 configs: - source: Caddyfile target: /etc/caddy/Caddyfile vail: image: ghcr.io/nealey/vail:main configs: Caddyfile: file: Caddyfile name: Caddyfile-v5