docker_joplin_server.yml hinzugefügt
Initial commit for deployment on clean Docker-hosts without existing PostgreSQL-installations.
This commit is contained in:
parent
0df84be68b
commit
5ba6f22050
1 changed files with 38 additions and 0 deletions
38
docker_joplin_server.yml
Normal file
38
docker_joplin_server.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
version: '3'
|
||||
services:
|
||||
joplin-db:
|
||||
restart: unless-stopped
|
||||
image: postgres:latest
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- /opt/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
|
Loading…
Add table
Reference in a new issue