synology_portainer_stacks/stack_joplin_server.yaml
oliver 54a2fd730b stack_joplin_server.yaml aktualisiert
Changed the mountpoint to work with a shared folder on /volume1 as well as port 5433 externally once you already have a PostgreSQL-instance running on your NAS.
2025-04-22 15:50:51 +02:00

38 lines
No EOL
1.2 KiB
YAML

version: '3'
services:
joplin-db:
restart: unless-stopped
image: postgres:latest
ports:
- "5433:5432"
volumes:
- /volume1/docker/joplin-server:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=yourdbpassword
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
joplin-app:
environment:
- APP_BASE_URL=https://joplin.my.tld
- APP_PORT=22300
- POSTGRES_PASSWORD=yourdbpassword
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=joplin-db
- DB_CLIENT=pg
- MAILER_ENABLED=1
- MAILER_HOST=yoursmtphost
- MAILER_PORT=465
- MAILER_SECURITY=starttls
- MAILER_AUTH_USER=yourmailuser
- MAILER_AUTH_PASSWORD=yourmailpassword
- MAILER_NOREPLY_NAME=Joplin Server
- MAILER_NOREPLY_EMAIL=joplin@my.tld
restart: unless-stopped
image: joplin/server:latest
ports:
- "22300:22300"
depends_on:
- joplin-db