Updated bitwarden
This commit is contained in:
parent
c6226d8204
commit
fbd10208a8
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user