From 959da3c67d809ee25f3f9775cabe871615347023 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 8 Nov 2024 22:05:44 +0100 Subject: [PATCH] dsfg --- docker-compose/minio/docker-compose.yml.j2 | 23 ++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docker-compose/minio/docker-compose.yml.j2 b/docker-compose/minio/docker-compose.yml.j2 index b1991940..9bff5555 100644 --- a/docker-compose/minio/docker-compose.yml.j2 +++ b/docker-compose/minio/docker-compose.yml.j2 @@ -23,22 +23,24 @@ services: labels: traefik.enable: true # s3 - traefik.http.routers.app2.service: s3 + traefik.http.routers.minio-s3.service: minio-s3 + traefik.http.routers.minio-s3.priority: "10" traefik.http.routers.minio-s3.rule: Host(`s3.mgrote.net`) traefik.http.routers.minio-s3.tls: true traefik.http.routers.minio-s3.tls.certresolver: resolver_letsencrypt traefik.http.routers.minio-s3.entrypoints: entry_https traefik.http.services.minio-s3.loadbalancer.server.port: 9000 # WebUI - traefik.http.routers.app2.service: ui - traefik.http.routers.minio-ui.rule: Host(`s3.mgrote.net&&PathPrefix(`/ui`)`) - traefik.http.routers.minio-ui.tls: true - traefik.http.routers.minio-ui.tls.certresolver: resolver_letsencrypt - traefik.http.routers.minio-ui.entrypoints: entry_https - traefik.http.services.minio-ui.loadbalancer.server.port: 9001 - traefik.http.routers.minio-ui.middlewares: minio-ui-ipallowlist - traefik.http.middlewares.minio-ui-ipallowlist.ipallowlist.sourcerange: 192.168.2.0/24,10.25.25.0/24 - traefik.http.middlewares.minio-ui-ipallowlist.ipallowlist.ipstrategy.depth: 0 # https://doc.traefik.io/traefik/middlewares/http/ipallowlist/#ipstrategydepth + # traefik.http.routers.minio-ui.service: minio-ui + # traefik.http.routers.minio-ui.priority: "20" + # traefik.http.routers.minio-ui.rule: Host(`ui-s3.mgrote.net`) + # traefik.http.routers.minio-ui.tls: true + # traefik.http.routers.minio-ui.tls.certresolver: resolver_letsencrypt + # traefik.http.routers.minio-ui.entrypoints: entry_https + # traefik.http.services.minio-ui.loadbalancer.server.port: 9001 + # traefik.http.routers.minio-ui.middlewares: minio-ui-ipallowlist # also entferne den Prefix danach wieder + # traefik.http.middlewares.minio-ui-ipallowlist.ipallowlist.sourcerange: 192.168.2.0/24,10.25.25.0/24 + # traefik.http.middlewares.minio-ui-ipallowlist.ipallowlist.ipstrategy.depth: 0 # https://doc.traefik.io/traefik/middlewares/http/ipallowlist/#ipstrategydepth ######## Networks ######## networks: @@ -66,3 +68,4 @@ volumes: # gui auch uber traefik mit szubnet beschrankung # linter # todo später automatisieren +# ui von außen testen