diff --git a/host_vars/lotus-land-story.yml b/host_vars/lotus-land-story.yml
index e2f97f5..b50372c 100644
--- a/host_vars/lotus-land-story.yml
+++ b/host_vars/lotus-land-story.yml
@@ -16,6 +16,7 @@ versions:
monica: 4.1.2
monica_mysql: "5.7"
paperless_ngx: 3.1.2
+ pro_tacts: latest # TODO Pin the version once we're not in active development anymore
quire: latest # TODO Pin the version once we're not in active development anymore
soju: 0.10.1 # remember to update the docker-soju image to bump this
vector: 0.58.0
diff --git a/lotus-land-story/main.yml b/lotus-land-story/main.yml
index ff43bee..dab3384 100644
--- a/lotus-land-story/main.yml
+++ b/lotus-land-story/main.yml
@@ -72,5 +72,6 @@
- import_playbook: logs.yml # noqa: name[play]
- import_playbook: otel.yml # noqa: name[play]
- import_playbook: quire.yml # noqa: name[play]
+- import_playbook: pro-tacts.yml # noqa: name[play]
# vim: ft=yaml.ansible
diff --git a/lotus-land-story/pro-tacts.yml b/lotus-land-story/pro-tacts.yml
new file mode 100644
index 0000000..da1fa32
--- /dev/null
+++ b/lotus-land-story/pro-tacts.yml
@@ -0,0 +1,32 @@
+# https://quire.kejadlen.dev/pro-tacts
+- name: Set up pro-tacts
+ hosts: lotus-land-story
+ vars:
+ version: "{{ versions.pro_tacts }}"
+ tasks:
+
+ - name: Create pro-tacts data directory
+ ansible.builtin.file:
+ path: /mnt/lotus-land-story/pro-tacts
+ state: directory
+ mode: "0755"
+
+ - name: Run pro-tacts
+ community.docker.docker_container:
+ name: pro-tacts
+ image: ghcr.io/kejadlen/pro-tacts:{{ version }}
+ pull: always
+ # env:
+ # PRO_TACTS_DATA_DIR: /data
+ volumes:
+ - /mnt/lotus-land-story/pro-tacts:/data
+ networks:
+ - name: lotus_land_story
+ restart_policy: unless-stopped
+ state: started
+
+ handlers:
+ - name: Import restarts
+ ansible.builtin.import_tasks: restarts.yml
+
+# vim: ft=yaml.ansible
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index b652c36..13d05c3 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -133,6 +133,14 @@ books {
}
}
+contacts {
+ import tsauth contacts
+ reverse_proxy pro-tacts:9292 {
+ header_up Tailscale-User-Login {http.auth.user.tailscale_login}
+ header_up Tailscale-User-Name {http.auth.user.tailscale_user}
+ }
+}
+
docs {
import tsauth docs
reverse_proxy paperless-ngx:8000 {