Obsidian for Unraid, in your browser via Selkies: your vault on your own server, no VNC client.
1.7K
Obsidian, in your browser. Your vault on your own server, open from any device. No VNC client, no local install.
The full Obsidian desktop app runs inside one container and streams to your browser over Selkies (H.264 video). Self-hosted LiveSync and the Local REST API with MCP come with it, ready to switch on from the template.
A one-knight job: I build it, keep it running, work through the issues and add what people ask for, until nothing is missing. It is free, with no accounts, no telemetry, no ads and no paid tier. No asterisk anywhere. Nothing readable ever leaves your own walls. Forged on evenings and weekends, with heart and stubbornness.
If it has earned a place on your server or computer, toss a coin to your knight: it helps cover the costs and keeps the project alive. It also makes this knight's heart beat a little faster. Three ways below, whichever suits you.
http://<server>:27123/mcp/. The API key can come from the template./config, your vault in /config/vault or wherever you map it.On Unraid, install Obsidian from Community Applications. Anywhere else, one container is enough:
docker run -d --name obsidian -p 3001:3001 -p 27123:27123 -p 27124:27124 \
--shm-size=1gb --memory=2g --cpus=2 \
-e PUID=99 -e PGID=100 \
-v /path/to/config:/config \
junkerderprovinz/obsidian:latest
Then open https://<server>:3001 and accept the self-signed certificate once. On the first start Obsidian opens a new vault at /config/vault. To keep it on a share instead, map that share to /config/vault before the first start.
Obsidian asks once whether you trust the vault's plugins. Click Trust author and enable plugins, otherwise the REST API and LiveSync stay off.
Note
The WebUI has no login by default, for use on a trusted LAN. Set `CUSTOM_USER` and `PASSWORD` to turn on the built-in login, and never expose the WebUI or the REST API ports to the internet without a VPN or an authenticating reverse proxy in front.
The template starts the container with 2 GB of memory and two CPU cores, which is plenty for a vault of a few thousand notes. Raise --memory in Extra Parameters for a very large vault or many plugins.
compose.yaml runs Obsidian on any Linux server with Docker. Put it in a folder of its own, point the folders under volumes at your files and start it with docker compose up -d. The folders are created next to the file.
Proxmox VE 9.1 and newer turn the container image into a container of its own. Without the Docker layer, Obsidian needs less memory and disk, and Proxmox backs it up together with its container. Its data stays in a folder under /srv/obsidian on the host. Proxmox still calls this a technology preview.
bash <(curl -fsSL https://raw.githubusercontent.com/junkerderprovinz/proxmox-apps/main/image.sh) install obsidian
To update, run the same line with update in place of install. It replaces the container and keeps the folder and the address.
Docker works just as well, nothing is wrong with it. Create a container with Docker using the Community Scripts and start the compose file in it, as under Other Docker hosts:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/docker.sh)"
For a virtual machine instead, take vm/docker-vm.sh from the same place.
In Container Manager (DSM 7.2 or newer), open Project and click Create. Pick a folder for Obsidian and upload compose.yaml. Container Manager does not create missing folders, so create the ones the file names under volumes in File Station first.
In Container Station, open Applications and click Create. Paste compose.yaml and point the folders under volumes at a share, for example /share/Container/obsidian.
In the Docker app of UGOS Pro, open Project and click Create. Pick a folder for Obsidian and paste compose.yaml.
On its first start the container takes over the folders under volumes. Set PUID and PGID to your own user's IDs so the files stay yours and you can still open them over the network. id over SSH shows them, and the first user on a Synology is usually 1026 in group 100.
The Synology logo is a trademark of Synology Inc. and the QNAP logo a trademark of QNAP Systems, Inc., both registered in Taiwan and other regions.
Self-hosted LiveSync keeps the vault in step with your other devices through your own CouchDB. Set these in the template before the first start:
| Variable | What goes in |
|---|---|
LIVESYNC_COUCHDB_URL | The address of your CouchDB, such as https://couchdb.example.com or http://192.168.1.20:5984 |
LIVESYNC_COUCHDB_DATABASE | The database the vault syncs to, obsidian by default |
LIVESYNC_COUCHDB_USER and LIVESYNC_COUCHDB_PASSWORD | A CouchDB user with access to that database |
LIVESYNC_PASSPHRASE | The end-to-end encryption passphrase. Use the same one as on your other devices, or leave it empty for no encryption |
The container writes these into the vault's LiveSync settings once, when the vault has none yet, and turns LiveSync on with live sync and sync on start. A vault that already syncs keeps its own settings, whatever the template says. Everything after that, such as the device name or the sync mode, is set in LiveSync's own settings tab.
Local REST API with MCP is on in a new vault, listening on both ports. It makes up its own API key on the first start, which you find in its settings tab. To set the key yourself, put it in REST_API_KEY; the container writes it into the vault on every start, so the template is the one place to change it. MCP clients connect to http://<server>:27123/mcp/ with the key as a bearer token.
Both plugins come with the image at a fixed version. The container installs them, and replaces an installed copy only when the image brings a newer version, so a plugin you updated yourself is never pushed back.
The appdata folder of linuxserver/obsidian works as it is. Stop the old container, point this one at the same folder as /config, with the same PUID, PGID and any vault mapping you had, and start it. Obsidian opens the vault it had open before, with its plugins, settings and REST API key. LiveSync keeps its own settings and is not set up again.
Two things change: Obsidian does not update itself here, the version comes with the image, and the Chromium and xterm entries in the old desktop menu have nothing behind them any more, because this image carries neither.
One knight builds this, and AI is one of the tools I work with, the same way I work with an editor or a compiler. It helps me write code and documentation and it checks my work, and that saves me a good many evenings. It does not make the decisions, though. I read and understand everything before it ships, and if something here breaks, that is on me and not on the tool.
You do not have to take my word for it. The code is open and every release note is written by hand. The issue tracker shows how problems actually get handled, including the ones I got wrong the first time. If you find something that is not right, open an issue and I will look at it.
Questions, bugs, ideas or feature requests? Please open a GitHub issue. A question about Obsidian itself is best asked in the Obsidian forum.
Obsidian is made by Dynalist Inc., and this project is not affiliated with or endorsed by it. The Obsidian name, logo and app icon are trademarks of their owner and are used here only to name the application this image packages. The packaging here is AGPL-3.0; see LICENSE and NOTICE for the bundled software.
docker pull junkerderprovinz/obsidian:latest