Add trilium notes

This commit is contained in:
Thomas Kleinendorst 2024-11-30 10:55:12 +01:00
parent 5b6712c649
commit b15fd369b6
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
- name: Create a volume
become: true
community.docker.docker_volume:
name: trilium_data
- name: Install the container
become: true
community.docker.docker_container:
name: trilium-server
image: "triliumnext/notes:{{ trilium_version }}"
ports:
- "127.0.0.1:4637:8080/tcp"
mounts:
- source: trilium_data
target: /home/node/trilium-data
restart_policy: always