This commit is contained in:
traveler 2024-11-08 14:02:11 -06:00
parent 9f26d5e66c
commit 3ff9aa8e8c
2 changed files with 144 additions and 0 deletions

24
caddy.yaml Normal file
View file

@ -0,0 +1,24 @@
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=netgrimoire
networks:
- netgrimoire
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /export/Docker/caddy/Caddyfile:/etc/caddy/Caddyfile
- /export/Docker/caddy:/data
deploy:
placement:
constraints:
- node.hostname == nas
# restart: unless-stopped
networks:
netgrimoire:
external: true