Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(service): add Obsidian template (#10704)

Joseph Hussellf54c214bdec9
diff --git a/public/svgs/obsidian.svg b/public/svgs/obsidian.svg
new file mode 100644
index 0000000000..33b702cad2
--- /dev/null
+++ b/public/svgs/obsidian.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
+ <polygon points="50,4 78,22 88,56 68,92 32,92 12,56 22,22" fill="#7C3AED"/>
+ <polygon points="50,4 22,22 32,52 50,38" fill="#9F67FF" opacity="0.7"/>
+ <polygon points="50,4 78,22 68,52 50,38" fill="#4C1D95" opacity="0.6"/>
+ <polygon points="32,52 68,52 68,92 32,92" fill="#5B21B6" opacity="0.5"/>
+ <line x1="50" y1="4" x2="50" y2="38" stroke="#C4B5FD" stroke-width="1.5" opacity="0.8"/>
+</svg>
diff --git a/templates/compose/obsidian.yaml b/templates/compose/obsidian.yaml
new file mode 100644
index 0000000000..6d10f31d6d
--- /dev/null
+++ b/templates/compose/obsidian.yaml
@@ -0,0 +1,30 @@
+# documentation: https://docs.linuxserver.io/images/docker-obsidian
+# slogan: Note-taking app with linking, organizing, and hundreds of plugins - runs in your browser via remote desktop
+# category: productivity
+# tags: notes,obsidian,markdown,desktop,gui,productivity
+# logo: svgs/obsidian.svg
+# port: 3000
+
+services:
+ obsidian:
+ image: lscr.io/linuxserver/obsidian:latest
+ environment:
+ - SERVICE_URL_OBSIDIAN_3000
+ - PUID=${PUID:-1000}
+ - PGID=${PGID:-1000}
+ - TZ=${TZ:-Etc/UTC}
+ - CUSTOM_USER=${SERVICE_USER_OBSIDIAN}
+ - PASSWORD=${SERVICE_PASSWORD_OBSIDIAN}
+ volumes:
+ - obsidian-config:/config
+ # Required for Electron/Chromium shared memory
+ shm_size: "1gb"
+ # Needed on hosts with older kernels or libseccomp; safe to remove on modern hosts
+ security_opt:
+ - seccomp=unconfined
+ healthcheck:
+ test: ["CMD", "curl", "-s", "-o", "/dev/null", "http://127.0.0.1:3000/"]
+ interval: 5s
+ timeout: 20s
+ retries: 10
+ start_period: 90s