joplin/docker-compose.yml hinzugefügt
This commit is contained in:
50
joplin/docker-compose.yml
Normal file
50
joplin/docker-compose.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:17
|
||||
container_name: joplin-db
|
||||
hostname: joplin-db
|
||||
mem_limit: 1g
|
||||
cpu_shares: 1024
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-q", "-d", "joplin", "-U", "joplinuser"]
|
||||
timeout: 45s
|
||||
interval: 10s
|
||||
retries: 10
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data:rw
|
||||
environment:
|
||||
POSTGRES_DB: joplin
|
||||
POSTGRES_USER: joplinuser
|
||||
POSTGRES_PASSWORD: joplinpass
|
||||
restart: on-failure:5
|
||||
|
||||
joplin:
|
||||
image: joplin/server:latest
|
||||
container_name: joplin
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- 22300:22300
|
||||
restart: on-failure:5
|
||||
environment:
|
||||
APP_PORT: 22300
|
||||
APP_BASE_URL: https://joplin.scheidel.biz
|
||||
DB_CLIENT: pg
|
||||
POSTGRES_PASSWORD: joplinpass
|
||||
POSTGRES_DATABASE: joplin
|
||||
POSTGRES_USER: joplinuser
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_HOST: db
|
||||
MAX_TIME_DRIFT: 0
|
||||
MAILER_ENABLED: 1
|
||||
MAILER_HOST: smtp.strato.de
|
||||
MAILER_PORT: 587
|
||||
MAILER_SECURITY: starttls
|
||||
MAILER_AUTH_USER: michael.scheidel@scheidel.biz
|
||||
MAILER_AUTH_PASSWORD: ?EAM?Yes!01
|
||||
MAILER_NOREPLY_NAME: michael.scheidel@scheidel.biz
|
||||
MAILER_NOREPLY_EMAIL: michael.scheidel@scheidel.biz
|
||||
volumes:
|
||||
data:
|
||||
Reference in New Issue
Block a user