nix/homelab/caddy/docker-compose.yml

20 lines
326 B
YAML

services:
caddy:
image: caddy:2.8
container_name: caddy
restart: unless-stopped
cap_add:
- NET_ADMIN
ports:
- 80:80
- 443:443
- 443:443/udp
volumes:
- caddy_data:/data
- caddy_config:/config
- ./caddyfiles:/etc/caddy/
volumes:
caddy_data:
caddy_config: