diff --git a/docs/applications/bitwarden.md b/docs/applications/bitwarden.md index b66f4b58..f806bebf 100644 --- a/docs/applications/bitwarden.md +++ b/docs/applications/bitwarden.md @@ -11,5 +11,8 @@ Set `bitwarden_enabled: true` in your `group_vars/all.yml` file. ## Specific Configuration -Make sure you set your admin token! It is bitwarden_admin_token in `group_vars/all.yml` file. The string you put here will be the login to the admin section -of your bitwarden installation (https://bitwarden.ansiblenasdomain.tld/admin). This token can be anything, but it's recommended to use a long, randomly generated string of characters, for example running: openssl rand -base64 48. +Make sure you set your admin token! It is bitwarden_admin_token in `group_vars/all.yml` file. The string you put here will be the login to the admin section of your bitwarden installation (https://bitwarden.ansiblenasdomain.tld/admin). This token can be anything, but it's recommended to use a long, randomly generated string of characters, for example running: openssl rand -base64 48. + +To create a user, you need to change a variable in ./tasks/bitwarden.yml. Set "SIGNUPS_ALLOWED" to "true", and reprovision the container. Once you have created your user, I would reccomend setting it to false and reprovisioning one more time. + +There is currently an issue with websockets and this configuration; traefik does not work correctly when enabled. If this issue gets resolved, I will update the file. Until that time, please note that synchronizations between your vault and browser extensions will not be instant. You will need to force a sync or wait on the scheduled sync (approx. 1h). \ No newline at end of file diff --git a/tasks/bitwarden.yml b/tasks/bitwarden.yml index 2c996eb0..c36a3b97 100644 --- a/tasks/bitwarden.yml +++ b/tasks/bitwarden.yml @@ -26,9 +26,8 @@ traefik.web.port: "80" #traefik.web.frontend.headers.customFrameOptionsValue: "ALLOW-FROM http://{{ ansible_nas_domain }}" #traefik.web.frontend.headers.customFrameOptionsValue: "ALLOW-FROM https://{{ ansible_nas_domain }}" - #traefik.web.frontend.headers.SSLRedirect: "true" - traefik.hub.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }};Path:/notifications/hub" - traefik.hub.port: "3012" + #traefik.hub.frontend.rule: "Host:bitwarden.{{ ansible_nas_domain }};Path:/notifications/hub" + #traefik.hub.port: "3012" restart_policy: unless-stopped #memory: 1g @@ -38,4 +37,5 @@ image: bruceforce/bw_backup:latest pull: true restart_policy: unless-stopped - volumes_from: bitwarden \ No newline at end of file + volumes_from: bitwarden + memory: 1g \ No newline at end of file