mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-01-23 12:14:17 +00:00
50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
|
# Joplin Server
|
||
|
Joplin is a free note taking app, available for desktop & mobile.
|
||
|
This is the Joplin sync server.
|
||
|
|
||
|
<br>
|
||
|
|
||
|
- [Homepage](https://joplinapp.org)
|
||
|
- [Github repo](https://github.com/laurent22/joplin/blob/dev/packages/server/README.md)
|
||
|
|
||
|
## docker-compose.yml
|
||
|
```yml
|
||
|
---
|
||
|
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
|
||
|
|
||
|
```
|
||
|
|
||
|
### Login with
|
||
|
email: `admin@localhost`
|
||
|
password: `admin`
|