Refactor swarm/secondary.yml to update Traefik configuration for cyberchef service

This commit is contained in:
2024-06-06 15:33:41 +08:00
parent 55861d7c9a
commit c70beefd40
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -7,7 +7,7 @@ services:
timeout: 25s
retries: 5
volumes:
- emqx-data1:/opt/emqx/data
- /var/data/emqx-data1:/opt/emqx/data
networks:
- traefik-public
# ports:
@@ -76,6 +76,6 @@ networks:
traefik-public:
external: true
volumes:
emqx-data1:
driver: local
# volumes:
# emqx-data1:
# driver: local
+1 -1
View File
@@ -24,8 +24,8 @@ services:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.swarmpit-https.rule=Host(`swarmpit.${DOMAIN?Variable not set}`)
- traefik.http.routers.swarmpit-https.entrypoints=https
- traefik.http.routers.swarmpit-https.rule=Host(`swarmpit.${DOMAIN?Variable not set}`)
- traefik.http.routers.swarmpit-https.tls=true
- traefik.http.routers.swarmpit-https.tls.certresolver=le
- traefik.http.services.swarmpit.loadbalancer.server.port=8080