From 624e5c59980e8de05718a12316e99ebd6644ca3d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 4 Mar 2022 09:36:20 +0100 Subject: [PATCH] Added the correct site for basic auth generation --- auth/readme.md | 2 +- dktk-fed/docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/auth/readme.md b/auth/readme.md index ef9673f..70e2aa8 100644 --- a/auth/readme.md +++ b/auth/readme.md @@ -1,3 +1,3 @@ This directory should contain your basic auth files. For each project you need to create a fil with the name of the project. Add to the file your users and passwords. -you can generate a a user password combination with this site https://www.blitter.se/utils/basic-authentication-header-generator/ \ No newline at end of file +you can generate a a user password combination with this site https://htpasswdgenerator.de/ or use htpasswd https://httpd.apache.org/docs/2.4/programs/htpasswd.html \ No newline at end of file diff --git a/dktk-fed/docker-compose.yml b/dktk-fed/docker-compose.yml index 6789161..3fbd00b 100644 --- a/dktk-fed/docker-compose.yml +++ b/dktk-fed/docker-compose.yml @@ -35,7 +35,7 @@ services: - "traefik.http.routers.landing.tls=true" blaze: - image: "samply/blaze:0.15" + image: "samply/blaze:0.16" container_name: bridgehead_dktk_blaze environment: BASE_URL: "http://blaze:8080" @@ -46,11 +46,11 @@ services: - "blaze-data:/app/data" labels: - "traefik.enable=true" + - "traefik.http.middlewares.test-auth.basicauth.usersfile=/auth/dktk" - "traefik.http.routers.blaze_dktk.rule=PathPrefix(`/dktk-localdatamanagement`)" - "traefik.http.middlewares.dktk_b_strip.stripprefix.prefixes=/dktk-localdatamanagement" - "traefik.http.services.blaze_dktk.loadbalancer.server.port=8080" - - "traefik.http.routers.blaze_dktk.middlewares=dktk_b_strip" - + - "traefik.http.routers.blaze_dktk.middlewares=dktk_b_strip,test-auth" volumes: blaze-data: