add bitwarden
This commit is contained in:
parent
b372e0930c
commit
ca3c6760ba
|
@ -7,3 +7,4 @@
|
||||||
- hosts: mail.0rpheus.net
|
- hosts: mail.0rpheus.net
|
||||||
roles:
|
roles:
|
||||||
- haproxy
|
- haproxy
|
||||||
|
- bitwarden
|
||||||
|
|
|
@ -14,12 +14,15 @@ all:
|
||||||
Unattended_Upgrade: 1
|
Unattended_Upgrade: 1
|
||||||
Update_Package_Lists: 1
|
Update_Package_Lists: 1
|
||||||
|
|
||||||
|
bitwarden_version: 1.14.2-alpine
|
||||||
|
|
||||||
certbot_domains:
|
certbot_domains:
|
||||||
- "jabber.0rpheus.net"
|
- "jabber.0rpheus.net"
|
||||||
|
|
||||||
haproxy_domains:
|
haproxy_domains:
|
||||||
# <Domain>: <Backend>
|
# <Domain>: <Backend>
|
||||||
smokeping.0rpheus.net: smokeping
|
smokeping.0rpheus.net: smokeping
|
||||||
|
bitwarden.0rpheus.net: bitwarden
|
||||||
seafile.0rpheus.net: odroid
|
seafile.0rpheus.net: odroid
|
||||||
jabber.0rpheus.net: prosody
|
jabber.0rpheus.net: prosody
|
||||||
tt-rss.0rpheus.net: odroid
|
tt-rss.0rpheus.net: odroid
|
||||||
|
@ -45,6 +48,10 @@ all:
|
||||||
server_defs:
|
server_defs:
|
||||||
- "odroid-docker 172.30.30.2:1080 check"
|
- "odroid-docker 172.30.30.2:1080 check"
|
||||||
|
|
||||||
|
bitwarden:
|
||||||
|
server_defs:
|
||||||
|
- "mail-docker 127.0.0.1:2080 check"
|
||||||
|
|
||||||
gogs:
|
gogs:
|
||||||
server_defs:
|
server_defs:
|
||||||
- "gogs-web-1 127.0.0.1:3000 check"
|
- "gogs-web-1 127.0.0.1:3000 check"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
bitwarden_data: /srv/bitwarden.0rpheus.net/data/
|
||||||
|
bitwarden_version: latest
|
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: bitwarden data
|
||||||
|
file:
|
||||||
|
path: "{{ bitwarden_data }}"
|
||||||
|
state: directory
|
||||||
|
recurse: yes
|
||||||
|
|
||||||
|
|
||||||
|
- name: bitwarden container
|
||||||
|
docker_container:
|
||||||
|
name: bitwarden.0rpheus.net
|
||||||
|
image: "bitwardenrs/server:{{ bitwarden_version }}"
|
||||||
|
pull: yes
|
||||||
|
restart_policy: always
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:2080:80
|
||||||
|
volumes:
|
||||||
|
- "{{ bitwarden_data }}:/data/:rw"
|
Loading…
Reference in New Issue