Made compose to work with traefik
CI/CD Deploy / test (push) Successful in 1m14s
CI/CD Deploy / build-push (push) Successful in 1m36s
CI/CD Deploy / deploy (push) Successful in 22s

This commit is contained in:
Antoni Nuñez Romeu
2026-09-28 14:32:23 +02:00
parent 1d63506722
commit c48fedccc9
+7 -2
View File
@@ -1,10 +1,15 @@
services:
zlb:
image: git.hacecalor.net/ichitux/zlb:latest
ports:
- "35207:80"
deploy:
replicas: 1
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.zlb.rule=Host(`zouklambadabcn.com`) || Host(`www.zouklambadabcn.com`)"
- "traefik.http.routers.zlb.entrypoints=websecure"
- "traefik.http.routers.zlb.tls.certresolver=letsencrypt"
- "traefik.http.services.zlb.loadbalancer.server.port=35207"
update_config:
order: start-first
failure_action: rollback