Updated bitwarden
This commit is contained in:
parent
c6226d8204
commit
fbd10208a8
@ -8,10 +8,11 @@
|
|||||||
- vars/default.yml
|
- vars/default.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Pull Bitwarden RS Postgres image
|
- name: Pull Bitwarden Vault Warden image
|
||||||
docker_image:
|
docker_image:
|
||||||
name: "{{ container_image }}"
|
name: "{{ container_image }}"
|
||||||
source: pull
|
source: pull
|
||||||
|
force_source: yes
|
||||||
|
|
||||||
- name: Create bitwarden container
|
- name: Create bitwarden container
|
||||||
docker_container:
|
docker_container:
|
||||||
@ -21,6 +22,7 @@
|
|||||||
restart_policy: "unless-stopped"
|
restart_policy: "unless-stopped"
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "{{ db_url }}"
|
DATABASE_URL: "{{ db_url }}"
|
||||||
|
DOMAIN: "https://{{ http_host }}"
|
||||||
links: "postgres:db"
|
links: "postgres:db"
|
||||||
published_ports:
|
published_ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
|
@ -3,7 +3,7 @@ http_host: "vault.tanshu.com"
|
|||||||
http_conf: "vault.tanshu.com.conf"
|
http_conf: "vault.tanshu.com.conf"
|
||||||
|
|
||||||
container_name: bitwarden
|
container_name: bitwarden
|
||||||
container_image: bitwardenrs/server-postgresql
|
container_image: vaultwarden/server:latest
|
||||||
|
|
||||||
db_url: postgresql://postgres:123456@db:5432/bitwarden
|
db_url: postgresql://postgres:123456@db:5432/bitwarden
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user