New Service
All checks were successful
Deploy to Swarm / deploy (push) Successful in 3s

This commit is contained in:
2025-10-25 12:46:36 -04:00
parent bb6dcc8670
commit 8fba3a82b0
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{
auto_https disable_redirects
}
# Caddy Dashboard (optional)
:2019 {
metrics /metrics
}
# Portainer
portainer.frostlabs.home {
reverse_proxy portainer:9000
tls internal
}
# Paperless-NGX
docs.frostlabs.home {
reverse_proxy paperless:8000
tls internal
}
# Adminer
miner.frostlabs.home {
reverse_proxy adminer:8091
tls internal
}

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