Updated bitwarden

This commit is contained in:
Amritanshu Agrawal 2021-08-18 09:17:10 +05:30
parent c6226d8204
commit fbd10208a8
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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