From 605d7061577c21ddbdb1648d3c1cf016feefd612 Mon Sep 17 00:00:00 2001 From: staffadmin Date: Sun, 28 Jul 2024 13:39:10 +0200 Subject: [PATCH] [add swarmpit] --- swarm.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/swarm.yml b/swarm.yml index cd2024b..c2af0aa 100644 --- a/swarm.yml +++ b/swarm.yml @@ -235,7 +235,6 @@ - "traefik.http.routers.http-catchall.middlewares=redirect-to-https" - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" - "traefik.http.middlewares.privatevpn.ipwhitelist.sourcerange=100.96.0.0/16" - - "io.portainer.accesscontrol.public" - "traefik.http.routers.dashboard.middlewares=privatevpn" # agent: # image: portainer/agent:latest @@ -297,7 +296,6 @@ image: "traefik/whoami" deploy: labels: - - "io.portainer.accesscontrol.public" - "traefik.enable=true" - "traefik.docker.network=public" - "traefik.http.routers.whoami.rule=Host(`whoamitest.jingoh.private`)" @@ -336,11 +334,11 @@ # - traefik.http.routers.swarmpit-http.rule=Host(`swarm01.jingoh.private`) # - traefik.http.routers.swarmpit-http.entrypoints=http # - traefik.http.routers.swarmpit-http.middlewares=https-redirect - - traefik.http.routers.swarmpit-https.rule=Host(`swarw01.jingoh.private`) - - traefik.http.routers.swarmpit-https.entrypoints=https - - traefik.http.routers.swarmpit-https.tls=true - - traefik.http.services.swarmpit-https.loadbalancer.server.port=8080 - - "traefik.http.routers.swarmpit-https.middlewares=privatevpn" + - traefik.http.routers.swarmpit.rule=Host(`swarw01.jingoh.private`) + - traefik.http.routers.swarmpit.entrypoints=websecure + - traefik.http.routers.swarmpit.tls=true + - traefik.http.services.swarmpit.loadbalancer.server.port=8080 + - "traefik.http.routers.swarmpit.middlewares=privatevpn" db: image: couchdb:2.3.1