Install Joplin
This commit is contained in:
parent
e7e9c883e3
commit
9014300eb2
4 changed files with 31 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
||||||
- role: postgres
|
- role: postgres
|
||||||
- role: wedding
|
- role: wedding
|
||||||
- role: trilium
|
- role: trilium
|
||||||
|
- role: joplin
|
||||||
- role: changedetection
|
- role: changedetection
|
||||||
- role: monitoring
|
- role: monitoring
|
||||||
vars:
|
vars:
|
||||||
|
|
|
||||||
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
|
||||||
2
roles/joplin/vars/main/defaults.yml
Normal file
2
roles/joplin/vars/main/defaults.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
joplin_version: '3.0.1'
|
||||||
9
roles/joplin/vars/main/vault.yml
Normal file
9
roles/joplin/vars/main/vault.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
66353035323739633736643935333332393265626666363731316565616134333634656464386333
|
||||||
|
3932646638373135326166343563316534626537336237310a353661323138613938663737643464
|
||||||
|
31326532366137653638623132353036306531666133616463613330393935353864623537383165
|
||||||
|
3837326335313234360a346264633134616336623265363636653862666237326433643135326637
|
||||||
|
35613136393534643461353431333336356636346363323638623531316138313663336562373334
|
||||||
|
34303765316439653236643062343139616264613532623538376162343637383036663030396539
|
||||||
|
33383537653736633231393339396639396262383366633965653561363364336133313365623366
|
||||||
|
30376264653339616634
|
||||||
Loading…
Add table
Add a link
Reference in a new issue