added passbolt

This commit is contained in:
2020-04-03 01:03:49 -07:00
parent bdf2b949f2
commit 261738818e
5 changed files with 77 additions and 3 deletions
+4 -2
View File
@@ -1,5 +1,5 @@
###############################################################################
# docker-compose up -d
# docker-compose up -d
###############################################################################
version: '3.3'
@@ -33,7 +33,9 @@ services:
- "traefik.http.routers.traefik.tls.certresolver=leresolver"
- "traefik.http.routers.traefik.entrypoints=websecure"
- "traefik.http.routers.traefik.middlewares=authtraefik"
- "traefik.http.middlewares.authtraefik.basicauth.users=nick:$$apr1$$9Bb9ylLo$$01sClSThg7OMbRg7Qj3re0"
# https://medium.com/@techupbusiness/add-basic-authentication-in-docker-compose-files-with-traefik-34c781234970
# echo $(htpasswd -nbB <USER> "<PASS>") | sed -e s/\\$/\\$\\$/g
- "traefik.http.middlewares.authtraefik.basicauth.users=nick:encryptedpasswordgoeshere"
# global redirect to https
- "traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)"
- "traefik.http.routers.http-catchall.entrypoints=web"