Install Joplin

This commit is contained in:
Thomas Kleinendorst 2024-11-30 14:44:52 +01:00
parent e7e9c883e3
commit 9014300eb2
4 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,19 @@
---
# Database setup needs to happen manually for now
- name: Install the container
become: true
community.docker.docker_container:
name: joplin-server
image: "etechonomy/joplin-server:{{ joplin_version }}"
ports:
- "127.0.0.1:4638:22300/tcp"
env:
APP_BASE_URL: "https://joplin.kleinendorst.info"
APP_PORT: "22300"
DB_CLIENT: "pg"
POSTGRES_DATABASE: "joplin"
POSTGRES_USER: "joplin"
POSTGRES_PASSWORD: "{{ joplin_database_password }}"
POSTGRES_PORT: "5432"
POSTGRES_HOST: "postgres.kleinendorst.info"
restart_policy: always