From fa78ecb03d4043ef02bba12fc271d28e01a46a96 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 2 Nov 2025 17:59:13 +0100 Subject: [PATCH] =?UTF-8?q?joplin/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- joplin/docker-compose.yml | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 joplin/docker-compose.yml diff --git a/joplin/docker-compose.yml b/joplin/docker-compose.yml new file mode 100644 index 0000000..7a9df54 --- /dev/null +++ b/joplin/docker-compose.yml @@ -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: \ No newline at end of file