Joplin is a free note taking app, available for desktop & mobile. This is the Joplin sync server.
---
version: '3'
services:
db:
image: postgres:13.1
container_name: joplin-db
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_DB=joplin
- POSTGRES_USER=joplin
- POSTGRES_PASSWORD=joplin
volumes:
- ./data:/var/lib/postgresql/data
app:
image: joplin/server:latest
container_name: joplin
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_BASE_URL=https://joplin.example.com
- APP_PORT=22300
- DB_CLIENT=pg
- POSTGRES_HOST=db
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PASSWORD=joplin
- POSTGRES_PORT=5432
email: admin@localhost
password: admin