Set up Bitwarden behind Traefik

This commit is contained in:
2021-02-27 00:00:52 -05:00
parent 30a722e1e0
commit 43d79e7710
8 changed files with 109 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
services:
nginx:
networks:
- traefik
labels:
traefik.http.routers.bitwarden.rule: "Host(`{{ bitwarden_domain }}`)"
traefik.http.routers.bitwarden.entrypoints: websecure
traefik.http.routers.bitwarden.tls.certresolver: letsencrypt
traefik.http.routers.bitwarden.middlewares: "securehttps@file"
traefik.http.services.bitwarden.loadbalancer.server.port: 8080
traefik.docker.network: traefik
traefik.enable: "true"
networks:
traefik:
external: true