add websocket config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-01-20 14:00:54 +01:00
parent 7286c4243a
commit 7d4d68b466
2 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,10 @@ bitwardenrs_healthcheck:
bitwardenrs_base_url: "http://localhost/"
bitwardenrs_websocket_enabled: False
bitwardenrs_websocket_exposed_port: 3012
bitwardenrs_websocket_exposed_ip: 127.0.0.1
# @var bitwardenrs_templates_folder: $ "_unset_"
bitwardenrs_reload_templates: False

View File

@ -9,6 +9,9 @@ services:
restart: {{ bitwardenrs_restart_policy }}
ports:
- {{ bitwardenrs_exposed_ip + ':' if bitwardenrs_exposed_ip is defined else '' }}{{ bitwardenrs_exposed_port }}:8080
{% if bitwardenrs_websocket_enabled %}
- {{ bitwardenrs_websocket_exposed_ip + ':' if bitwardenrs_websocket_exposed_ip is defined else '' }}{{ bitwardenrs_websocket_exposed_port }}:3012
{% end %}
volumes:
- data:/app/data
{% for volume in bitwardenrs_volumes_extra %}