From 6d0028bcfcdd2a26549cb3484ee11711ad46158c Mon Sep 17 00:00:00 2001 From: Rohit Mulani Date: Tue, 7 Jul 2026 23:16:27 +0400 Subject: [PATCH] feat: add Joplin Server template (#948) * feat: add Joplin Server template * chore: pin joplin-server template version * Update blueprints/joplin-server/template.toml --------- Co-authored-by: Rohit Mulani <289630555+rohitmulani63-ops@users.noreply.github.com> Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> --- blueprints/joplin-server/docker-compose.yml | 30 +++++++++++++++++++++ blueprints/joplin-server/joplin-server.svg | 5 ++++ blueprints/joplin-server/template.toml | 18 +++++++++++++ meta.json | 17 ++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 blueprints/joplin-server/docker-compose.yml create mode 100644 blueprints/joplin-server/joplin-server.svg create mode 100644 blueprints/joplin-server/template.toml diff --git a/blueprints/joplin-server/docker-compose.yml b/blueprints/joplin-server/docker-compose.yml new file mode 100644 index 00000000..fefac15b --- /dev/null +++ b/blueprints/joplin-server/docker-compose.yml @@ -0,0 +1,30 @@ +services: + joplin-db: + image: postgres:16-alpine + restart: unless-stopped + environment: + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_DB: ${POSTGRES_DATABASE} + volumes: + - joplin_db_data:/var/lib/postgresql/data + + joplin-server: + image: joplin/server:3.7.1 + restart: unless-stopped + depends_on: + - joplin-db + environment: + APP_BASE_URL: ${APP_BASE_URL} + APP_PORT: ${APP_PORT} + DB_CLIENT: pg + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DATABASE: ${POSTGRES_DATABASE} + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PORT: 5432 + POSTGRES_HOST: joplin-db + ports: + - "22300" + +volumes: + joplin_db_data: diff --git a/blueprints/joplin-server/joplin-server.svg b/blueprints/joplin-server/joplin-server.svg new file mode 100644 index 00000000..93840c4a --- /dev/null +++ b/blueprints/joplin-server/joplin-server.svg @@ -0,0 +1,5 @@ + + + + J + diff --git a/blueprints/joplin-server/template.toml b/blueprints/joplin-server/template.toml new file mode 100644 index 00000000..f8258bc6 --- /dev/null +++ b/blueprints/joplin-server/template.toml @@ -0,0 +1,18 @@ +[variables] +main_domain = "${domain}" +postgres_password = "${password:32}" + +[config] +mounts = [] + +[[config.domains]] +serviceName = "joplin-server" +port = 22300 +host = "${main_domain}" + +[config.env] +APP_BASE_URL = "http://${main_domain}" +APP_PORT = "22300" +POSTGRES_PASSWORD = "${postgres_password}" +POSTGRES_USER = "joplin" +POSTGRES_DATABASE = "joplin" diff --git a/meta.json b/meta.json index f1dcccfa..1a253a69 100644 --- a/meta.json +++ b/meta.json @@ -3486,6 +3486,23 @@ "open-source" ] }, + { + "id": "joplin-server", + "name": "Joplin Server", + "version": "3.7.1", + "description": "Joplin Server is the self-hosted sync backend for Joplin notes, notebooks, and attachments.", + "logo": "joplin-server.svg", + "links": { + "github": "https://github.com/laurent22/joplin", + "website": "https://joplinapp.org/", + "docs": "https://github.com/laurent22/joplin/tree/dev/packages/server" + }, + "tags": [ + "notes", + "sync", + "productivity" + ] + }, { "id": "kaneo", "name": "Kaneo",