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 timeout: 25s
retries: 5 retries: 5
volumes: volumes:
- emqx-data1:/opt/emqx/data - /var/data/emqx-data1:/opt/emqx/data
networks: networks:
- traefik-public - traefik-public
# ports: # ports:
@@ -76,6 +76,6 @@ networks:
traefik-public: traefik-public:
external: true external: true
volumes: # volumes:
emqx-data1: # emqx-data1:
driver: local # driver: local
+1 -1
View File
@@ -24,8 +24,8 @@ services:
- traefik.enable=true - traefik.enable=true
- traefik.docker.network=traefik-public - traefik.docker.network=traefik-public
- traefik.constraint-label=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.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=true
- traefik.http.routers.swarmpit-https.tls.certresolver=le - traefik.http.routers.swarmpit-https.tls.certresolver=le
- traefik.http.services.swarmpit.loadbalancer.server.port=8080 - traefik.http.services.swarmpit.loadbalancer.server.port=8080