add nginx and restic from gancio deps
This commit is contained in:
parent
0b473446b6
commit
0fc3f1657f
1 changed files with 15 additions and 0 deletions
|
@ -11,3 +11,18 @@ dependencies:
|
|||
username: gancio
|
||||
password: "{{ database_password }}"
|
||||
database: gancio
|
||||
|
||||
# install certbot, nginx and configure it as reverse proxy
|
||||
- role: stable/nginx
|
||||
when: with_nginx | bool
|
||||
vars:
|
||||
with_certbot: true
|
||||
proxy_pass: http://localhost:8001
|
||||
|
||||
# backup etherpad database
|
||||
- role: stable/restic
|
||||
when: with_backup | bool
|
||||
vars:
|
||||
restic_databases:
|
||||
- {name: 'gancio', dump_command: sudo -Hiu postgres pg_dump -Fc gancio}
|
||||
restic_folders: ['/srv/gancio/uploads']
|
Loading…
Reference in a new issue