mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-09-29 06:02:21 +00:00
Made compose to work with traefik
This commit is contained in:
+7
-2
@@ -1,10 +1,15 @@
|
|||||||
services:
|
services:
|
||||||
zlb:
|
zlb:
|
||||||
image: git.hacecalor.net/ichitux/zlb:latest
|
image: git.hacecalor.net/ichitux/zlb:latest
|
||||||
ports:
|
|
||||||
- "35207:80"
|
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
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:
|
update_config:
|
||||||
order: start-first
|
order: start-first
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
|||||||
Reference in New Issue
Block a user