From 02d13800912415d3792de79c13f91f63df7373fb Mon Sep 17 00:00:00 2001 From: oliver Date: Fri, 28 Mar 2025 11:17:51 +0100 Subject: [PATCH] =?UTF-8?q?Dateien=20nach=20=E2=80=9E/=E2=80=9C=20hochlade?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ stack_joplin_server.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 README.md create mode 100644 stack_joplin_server.yaml diff --git a/README.md b/README.md new file mode 100644 index 0000000..c54e655 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# Synology_Portainer + diff --git a/stack_joplin_server.yaml b/stack_joplin_server.yaml new file mode 100644 index 0000000..a109c5f --- /dev/null +++ b/stack_joplin_server.yaml @@ -0,0 +1,38 @@ +version: '3' +services: + joplin-db: + restart: unless-stopped + image: postgres:latest + ports: + - "5432:5432" + volumes: + - /opt/joplin-server/db:/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 \ No newline at end of file