Tweaks for Bitwarden WebSockets

This commit is contained in:
David Stephens 2019-04-14 16:45:48 +01:00
parent 5a63ca02d7
commit f2e71ca17c

View file

@ -19,15 +19,15 @@
SIGNUPS_ALLOWED: "false" SIGNUPS_ALLOWED: "false"
ADMIN_TOKEN: "{{ bitwarden_admin_token }}" ADMIN_TOKEN: "{{ bitwarden_admin_token }}"
LOG_FILE: "/data/bitwarden.log" LOG_FILE: "/data/bitwarden.log"
WEBSOCKET_ENABLED: "true"
labels: labels:
traefik.backend: "bitwarden" traefik.backend: "bitwarden"
traefik.web.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }}" traefik.web.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }}"
traefik.enable: "true" traefik.enable: "true"
traefik.web.port: "80" traefik.web.port: "80"
#traefik.web.frontend.headers.customFrameOptionsValue: "ALLOW-FROM http://{{ ansible_nas_domain }}" traefik.hub.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }};Path:/notifications/hub"
#traefik.web.frontend.headers.customFrameOptionsValue: "ALLOW-FROM https://{{ ansible_nas_domain }}" traefik.hub.port: "3012"
#traefik.hub.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }};Path:/notifications/hub" traefik.hub.protocol: "ws"
#traefik.hub.port: "3012"
restart_policy: unless-stopped restart_policy: unless-stopped
#memory: 1g #memory: 1g