Joplin: Upgrade PostgreSQL to version 18 in docker-compose (#34)

Updated PostgreSQL version

Fixed the indentation issues
This commit is contained in:
Arash
2026-08-16 22:41:19 +02:00
committed by GitHub
parent c63e75f626
commit 879378c1ac

View File

@@ -11,24 +11,23 @@ This is the Joplin sync server.
```yml
services:
db:
image: postgres:13.1
image: postgres:18
container_name: joplin-db
ports:
- "5432:5432"
restart: unless-stopped
environment:
- POSTGRES_DB=joplin
- POSTGRES_USER=joplin
- POSTGRES_PASSWORD=joplin
- POSTGRES_PASSWORD=your_secure_password
volumes:
- ./data:/var/lib/postgresql/data
app:
image: joplin/server:latest
container_name: joplin
depends_on:
- db
ports:
- "22300:22300"
- "127.0.0.1:22300:22300"
restart: unless-stopped
environment:
- APP_BASE_URL=https://joplin.example.com
@@ -37,7 +36,7 @@ services:
- POSTGRES_HOST=db
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PASSWORD=joplin
- POSTGRES_PASSWORD=your_secure_password
- POSTGRES_PORT=5432
```