Install Joplin
This commit is contained in:
parent
e7e9c883e3
commit
9014300eb2
4 changed files with 31 additions and 0 deletions
19
roles/joplin/tasks/main.yml
Normal file
19
roles/joplin/tasks/main.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue