mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 02:36:38 +00:00
Update bitwarden for traefikv2 labels
This commit is contained in:
@@ -55,12 +55,22 @@ services:
|
|||||||
- /var/data/bitwarden:/data/:rw
|
- /var/data/bitwarden:/data/:rw
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
# traefik common
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=traefik_public"
|
||||||
|
# traefikv1
|
||||||
- traefik.web.frontend.rule=Host:bitwarden.example.com
|
- traefik.web.frontend.rule=Host:bitwarden.example.com
|
||||||
- traefik.web.port=80
|
- traefik.web.port=80
|
||||||
- traefik.hub.frontend.rule=Host:bitwarden.example.com;Path:/notifications/hub
|
- traefik.hub.frontend.rule=Host:bitwarden.example.com;Path:/notifications/hub
|
||||||
- traefik.hub.port=3012
|
- traefik.hub.port=3012
|
||||||
- traefik.docker.network=traefik_public
|
|
||||||
|
#traefikv2
|
||||||
|
- "traefik.http.routers.bitwarden.rule=Host(`bitwarden.example.com`)"
|
||||||
|
- "traefik.http.services.bitwarden.loadbalancer.server.port=80"
|
||||||
|
- "traefik.http.routers.bitwarden.service=bitwarden"
|
||||||
|
- "traefik.http.routers.bitwarden-websocket.rule=Host(`bitwarden.example.com`) && Path(`/notifications/hub`)"
|
||||||
|
- "traefik.http.routers.bitwarden-websocket.service=bitwarden-websocket"
|
||||||
|
- "traefik.http.services.bitwarden-websocket.loadbalancer.server.port=3012"
|
||||||
networks:
|
networks:
|
||||||
- traefik_public
|
- traefik_public
|
||||||
|
|
||||||
@@ -89,4 +99,4 @@ Once you've created your account, jump over to https://bitwarden.com/#download a
|
|||||||
[^2]: As mentioned above, readers should refer to the [dani-garcia/bitwarden_rs wiki](https://github.com/dani-garcia/bitwarden_rs) for details on customizing the behaviour of Bitwarden.
|
[^2]: As mentioned above, readers should refer to the [dani-garcia/bitwarden_rs wiki](https://github.com/dani-garcia/bitwarden_rs) for details on customizing the behaviour of Bitwarden.
|
||||||
[^3]: The inclusion of Bitwarden was due to the efforts of @gkoerk in our [Discord server](http://chat.funkypenguin.co.nz)- Thanks Gerry!
|
[^3]: The inclusion of Bitwarden was due to the efforts of @gkoerk in our [Discord server](http://chat.funkypenguin.co.nz)- Thanks Gerry!
|
||||||
|
|
||||||
--8<-- "recipe-footer.md"
|
--8<-- "recipe-footer.md"
|
||||||
|
|||||||
Reference in New Issue
Block a user