This commit is contained in:
Jarosław Karcewicz 2023-02-12 11:38:51 +01:00
parent 8e5c49eeaa
commit 04a4f6692c

View File

@ -0,0 +1,29 @@
version: '3'
services:
db:
image: postgres
volumes:
- /docker/joplin:/var/lib/postgresql/data
ports:
- "5433:5432"
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=tajemnehaslodobazy
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=https://joplin.karcewicz.pl
- DB_CLIENT=pg
- POSTGRES_PASSWORD=tajemnehaslodobazy
- POSTGRES_DATABASE=postgres
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db