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>
This commit is contained in:
Rohit Mulani
2026-07-07 23:16:27 +04:00
committed by GitHub
parent c3ed7d9296
commit 6d0028bcfc
4 changed files with 70 additions and 0 deletions

View File

@@ -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:

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
<rect width="128" height="128" rx="28" fill="#101828"/>
<circle cx="64" cy="64" r="34" fill="#38bdf8" opacity="0.92"/>
<text x="64" y="74" text-anchor="middle" font-family="Arial, sans-serif" font-size="30" font-weight="700" fill="#ffffff">J</text>
</svg>

After

Width:  |  Height:  |  Size: 325 B

View File

@@ -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"

View File

@@ -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",