nix/homelab/caddy/docker-compose.yml

34 lines
577 B
YAML
Raw Normal View History

2024-09-12 18:39:59 +02:00
services:
caddy:
2024-10-13 17:05:00 +02:00
build: .
2024-09-12 18:39:59 +02:00
container_name: caddy
restart: unless-stopped
cap_add:
- NET_ADMIN
ports:
- 80:80
- 443:443
- 443:443/udp
volumes:
2024-10-13 17:05:00 +02:00
- data:/data
- config:/config
2024-09-12 18:39:59 +02:00
- ./caddyfiles:/etc/caddy/
2024-10-13 17:05:00 +02:00
environment:
CF_ZONE_TOKEN: ${CF_ZONE_TOKEN}
CF_API_TOKEN: ${CF_API_TOKEN}
2024-10-17 19:28:08 +02:00
networks:
proxy:
aliases:
- auth.timo.bmrs.nl
2024-10-23 10:12:13 +02:00
- cloud.timo.bmrs.nl
- office.timo.bmrs.nl
2024-09-12 18:39:59 +02:00
volumes:
2024-10-13 17:05:00 +02:00
data:
config:
networks:
2024-10-17 19:28:08 +02:00
proxy:
2024-10-13 17:05:00 +02:00
name: proxy
external: true