New Services:
Some checks failed
Deploy to Swarm / deploy (push) Failing after 3s

This commit is contained in:
2025-10-25 12:33:03 -04:00
parent f52f61e448
commit 8f9bd5ec8d
14 changed files with 386 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
networks:
homelab:
external: true
services:
caddy:
image: caddy:latest
ports:
- target: 80
published: 80
mode: host
- target: 443
published: 443
mode: host
- target: 2019
published: 2019
mode: host
networks:
- homelab
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- /mnt/swarm-data/caddy/data:/data
- /mnt/swarm-data/caddy/config:/config
deploy:
mode: global
placement:
constraints:
- node.role == manager
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3