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

This commit is contained in:
Robert Kaussow 2020-01-20 13:37:12 +01:00
parent b2ae2f1e26
commit 105ea9148e
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,7 @@ ADD source/target/x86_64-unknown-linux-musl/release/bitwarden_rs /app
VOLUME /app/data VOLUME /app/data
EXPOSE 8080 EXPOSE 8080
EXPOSE 3012
USER app USER app

View File

@ -19,6 +19,10 @@ ICON_CACHE_NEGTTL={{ getenv "BITWARDENRS_ICON_CACHE_NEGTTL" "259200" }}
WEB_VAULT_FOLDER=/app/web-vault/ WEB_VAULT_FOLDER=/app/web-vault/
WEB_VAULT_ENABLED={{ getenv "BITWARDENRS_WEB_VAULT_ENABLED" "true" | conv.Bool }} WEB_VAULT_ENABLED={{ getenv "BITWARDENRS_WEB_VAULT_ENABLED" "true" | conv.Bool }}
WEBSOCKET_ENABLED={{ getenv "BITWARDENRS_WEBSOCKET_ENABLED" "false" | conv.Bool }}
WEBSOCKET_ADDRESS=0.0.0.0
WEBSOCKET_PORT=3012
EXTENDED_LOGGING={{ getenv "BITWARDENRS_EXTENDED_LOGGING" "true" | conv.Bool }} EXTENDED_LOGGING={{ getenv "BITWARDENRS_EXTENDED_LOGGING" "true" | conv.Bool }}
LOG_LEVEL={{ getenv "BITWARDENRS_LOG_LEVEL" "Info" }} LOG_LEVEL={{ getenv "BITWARDENRS_LOG_LEVEL" "Info" }}