mirror of
https://github.com/abhilesh/self-hosted-docker-setups.git
synced 2026-03-03 02:47:01 +00:00
28 lines
886 B
YAML
28 lines
886 B
YAML
services:
|
|
app:
|
|
environment:
|
|
- APP_BASE_URL=https://joplin.example.com # Change this
|
|
- APP_PORT=22300
|
|
- POSTGRES_PASSWORD=joplin
|
|
- POSTGRES_DATABASE=joplin
|
|
- POSTGRES_USER=joplin
|
|
- POSTGRES_PORT=5432
|
|
- POSTGRES_HOST=db
|
|
- DB_CLIENT=pg
|
|
restart: unless-stopped
|
|
image: florider89/joplin-server:2.4.3-beta
|
|
platform: linux/arm64
|
|
ports:
|
|
- "22300:22300"
|
|
db:
|
|
restart: unless-stopped
|
|
image: postgres:13.1
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- /home/pi/joplin-data:/var/lib/postgresql/data # Change this
|
|
environment:
|
|
- POSTGRES_PASSWORD=joplin
|
|
- POSTGRES_USER=joplin
|
|
- POSTGRES_DB=joplin
|