From fbd10208a8fab42241ef2a6e3ed61397a2652d39 Mon Sep 17 00:00:00 2001 From: tanshu Date: Wed, 18 Aug 2021 09:17:10 +0530 Subject: [PATCH] Updated bitwarden --- bitwarden/playbook.yml | 4 +++- bitwarden/vars/default.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bitwarden/playbook.yml b/bitwarden/playbook.yml index 5c126bb..68109fb 100755 --- a/bitwarden/playbook.yml +++ b/bitwarden/playbook.yml @@ -8,10 +8,11 @@ - vars/default.yml tasks: - - name: Pull Bitwarden RS Postgres image + - name: Pull Bitwarden Vault Warden image docker_image: name: "{{ container_image }}" source: pull + force_source: yes - name: Create bitwarden container docker_container: @@ -21,6 +22,7 @@ restart_policy: "unless-stopped" env: DATABASE_URL: "{{ db_url }}" + DOMAIN: "https://{{ http_host }}" links: "postgres:db" published_ports: - 127.0.0.1:8080:80 diff --git a/bitwarden/vars/default.yml b/bitwarden/vars/default.yml index f596613..cce8791 100644 --- a/bitwarden/vars/default.yml +++ b/bitwarden/vars/default.yml @@ -3,7 +3,7 @@ http_host: "vault.tanshu.com" http_conf: "vault.tanshu.com.conf" container_name: bitwarden -container_image: bitwardenrs/server-postgresql +container_image: vaultwarden/server:latest db_url: postgresql://postgres:123456@db:5432/bitwarden