ansible/roles/docker/files/caddy-compose.yml
2024-08-13 20:18:11 -06:00

22 lines
360 B
YAML

services:
caddy:
image: caddy:2.8.4
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:
networks:
default:
external: true
name: lava