monica: add docker compose-based config

This commit is contained in:
Jef Roosens 2024-01-11 13:02:45 +01:00
parent df463ed7cb
commit 363eaecc07
Signed by: Jef Roosens
GPG key ID: 02D4C0997E74717B
10 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
dependencies:
- role: caddy

View file

@ -0,0 +1,9 @@
---
- name: Ensure Caddyfile is present
template:
src: 'monica.Caddyfile.j2'
dest: '/etc/caddy/monica.Caddyfile'
owner: root
group: root
mode: '0644'
notify: caddy-reload

View file

@ -0,0 +1,3 @@
prm.roosens.me {
reverse_proxy {{ groups['monica'][0] }}:8001
}