Skip to content

Commit 3194570

Browse files
committed
add joplin compose
1 parent 69fc4c7 commit 3194570

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

public/svgs/joplin.png

5.32 KB
Loading

templates/compose/joplin.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# documentation: https://github.com/laurent22/joplin/blob/dev/packages/server/README.md
2+
# slogan: Self-hosted sync server for Joplin
3+
# tags: joplin
4+
# logo: svgs/joplin.png
5+
# port: 22300
6+
version: '3'
7+
services:
8+
db:
9+
image: 'postgres:16'
10+
volumes:
11+
- './data/postgres:/var/lib/postgresql/data'
12+
restart: unless-stopped
13+
environment:
14+
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
15+
- POSTGRES_USER=$SERVICE_USER_POSTGRES
16+
- POSTGRES_DB=joplin
17+
app:
18+
image: 'joplin/server:latest'
19+
depends_on:
20+
- db
21+
ports:
22+
- '22300:22300'
23+
restart: unless-stopped
24+
environment:
25+
- APP_PORT=22300
26+
- APP_BASE_URL=$SERVICE_FQDN_JOPLIN
27+
- DB_CLIENT=pg
28+
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
29+
- POSTGRES_DATABASE=joplin
30+
- POSTGRES_USER=$SERVICE_USER_POSTGRES
31+
- POSTGRES_PORT=5432
32+
- POSTGRES_HOST=db
33+

0 commit comments

Comments
 (0)