mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2026-08-24 20:36:12 +00:00
Joplin: Upgrade PostgreSQL to version 18 in docker-compose (#34)
Updated PostgreSQL version Fixed the indentation issues
This commit is contained in:
@@ -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
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user