Add a test task for vaultwarden
This commit is contained in:
parent
2cd2d09375
commit
34b1765bc7
16
playbooks/tasks/app/vaultwarden.yml
Normal file
16
playbooks/tasks/app/vaultwarden.yml
Normal file
@ -0,0 +1,16 @@
|
||||
# vim:ft=ansible:
|
||||
- name: docker deploy vaultwarden
|
||||
docker_container:
|
||||
# https://github.com/dani-garcia/vaultwarden/wiki/Which-container-image-to-use
|
||||
name: vaultwarden
|
||||
image: vaultwarden/server:alpine
|
||||
pull: yes
|
||||
restart_policy: unless-stopped
|
||||
env:
|
||||
DATABASE_URL: "postgresql://vaultwarden-desultd:{{ secret_vaultwarden_db_pass }}@10.0.0.2:5432/vaultwarden-desultd"
|
||||
volumes:
|
||||
- /data/vaultwarden:/data
|
||||
networks:
|
||||
- name: web
|
||||
aliases: [ "vaultwarden" ]
|
||||
tags: [ docker, vaultwarden ]
|
Loading…
Reference in New Issue
Block a user