From d547ce6b0fab7bde8bdc9cdbbbc2c21f0395e2da Mon Sep 17 00:00:00 2001 From: Jesse Beard Date: Wed, 10 Apr 2019 09:08:06 -0400 Subject: [PATCH] Adding bitwarden documentation --- README.md | 1 + docs/applications/bitwarden.md | 15 +++++++++++++++ docs/configuration/application_ports.md | 2 ++ tasks/bitwarden.yml | 2 +- 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 docs/applications/bitwarden.md diff --git a/README.md b/README.md index e24c5f44..c81d6f3b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co ### Docker Containers Used * [Airsonic](https://airsonic.github.io/) - catalog and stream music +* [Bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs) - Self-Hosting port of password manager * [Cloudflare DDNS](https://hub.docker.com/r/joshuaavalon/cloudflare-ddns/) - automatically update Cloudflare with your dynamic IP address * [CouchPotato](https://couchpota.to/) - for downloading and managing movies * [Duplicati](https://www.duplicati.com/) - for backing up your stuff diff --git a/docs/applications/bitwarden.md b/docs/applications/bitwarden.md new file mode 100644 index 00000000..b66f4b58 --- /dev/null +++ b/docs/applications/bitwarden.md @@ -0,0 +1,15 @@ +# Bitwarden(_rs) Password Management + +Homepage: [https://github.com/dani-garcia/bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs) +Bitwarden: [https://bitwarden.com/](https://bitwarden.com/) + +This is a Bitwarden server API implementation written in Rust compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal. + +## Usage + +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. diff --git a/docs/configuration/application_ports.md b/docs/configuration/application_ports.md index 0917bb30..6e642fdc 100644 --- a/docs/configuration/application_ports.md +++ b/docs/configuration/application_ports.md @@ -5,6 +5,8 @@ By default, applications can be found on the ports listed below. | Application | Port | Notes | |-----------------|--------|-----------| | Couchpotato | 5050 | | +| Bitwarden "hub" | 3012 | Web Not. | +| Bitwarden | 19080 | HTTP | | Duplicati | 8200 | | | Emby | 8096 | HTTP | | Emby | 8920 | HTTPS | diff --git a/tasks/bitwarden.yml b/tasks/bitwarden.yml index e6217aec..1e7b1c5c 100644 --- a/tasks/bitwarden.yml +++ b/tasks/bitwarden.yml @@ -11,7 +11,7 @@ image: mprasil/bitwarden:latest pull: true ports: - #- "19080:80" + - "19080:80" - "3012:3012" volumes: - "{{ bitwarden_data_directory }}:/data:rw"