Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] SmartPhoneLover - Obsidian

Featured Replies

obsidian_banner.png

 

This docker template was created based on an already available docker image

 

WebSite: https://obsidian.md/
Forum: https://forum.obsidian.md/

Forum (support thread): https://forum.obsidian.md/t/self-hosted-docker-instance/3788
GitHub: https://github.com/sytone/obsidian-remote

GitHub (Docker): https://github.com/sytone/obsidian-remote/pkgs/container/obsidian-remote
My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates

 

DESCRIPTION
Obsidian is a powerful knowledge base on top of a local folder of plain text Markdown files.

 

Features:

- Graph view

- Backlinks

- Outgoing links

- Plugins support

- Themes

- Custom CSS

- Future-proof format (use of Markdowns)

- Total control (local storage)

- Always available (completely offline)

 

NOTES
• When creating a vault, place it under '/vaults' dir, located in the root of the container (inside Obsidian).

 

VERSION
1.0 (2022-03-14)


If you are going to report a bug or request something to be added/modified, please, take into consideration that I will only be able to apply changes for the work I own only. For example, if I create a docker template for an already existing docker image (not created by me), I won't be able to do more for that image than forward your report or request to the owner of the project.


If you like my work, please consider making a little donation.
- DONATE -
Thank you very much 🙂

Edited by SmartPhoneLover

We must be on the same wavelength - I literally just started building my own container for this one, after discovering obsidian a couple weeks ago thanks to Wendell over at Level1Techs... Only to find it in CA this morning!

Great work, and thanks!

Does anyone know how to set this up so it can be used with on an ipad via the Obsidian app?

22 hours ago, muppie said:

Does anyone know how to set this up so it can be used with on an ipad via the Obsidian app?

No*, this is just a vm running obsidian.
*It does store the files on your server so if you can map that directory or mirror it to your ipad you can load it in the obsidian app.

On 3/14/2022 at 9:12 AM, muppie said:

Does anyone know how to set this up so it can be used with on an ipad via the Obsidian app?

 

I've mine mapped to the Notes folder from my nextcloud location - you'll have to set up nextcloud to scan for file changes on occasion for this to work properly, but once done, it works out pretty well.

On 3/14/2022 at 11:12 AM, muppie said:

Does anyone know how to set this up so it can be used with on an ipad via the Obsidian app?

 

On 3/15/2022 at 2:21 PM, BVD said:

 

I've mine mapped to the Notes folder from my nextcloud location - you'll have to set up nextcloud to scan for file changes on occasion for this to work properly, but once done, it works out pretty well.

 

I think for the official support, Obsidian app on iDevices only support iCloud and owned Sync service from Obsidian. Other approaches they still not recommend it because you will loose the key features of Obsidian due how the file management on Apple devices works.

I'm just wondering, which is the advantage on having a container version of Obsidian, instead of the electron app + iOS/iPadOS/Android app?

How your workflows will improve or in which use cases.

Just to take some ideas.

Having the container means you don't have to care about anything other than having a browser to access. I don't mind paying for good software. I do mind paying a monthly subscription just so I can access the same content on all my devices.

Awesome, I had been wondering when somebody would put a docker image together for it. One question though, the rendering of the GUI is done by the host machine or am I wrong? It is a little choppy and tears when you move the windows inside it, so I wonder if hardware acceleration could be somehow brought into it? Not that it really needs it considering one is writing mostly just text in it, but I have a GPU in my Unraid machine and use it for Plex, can I have the image make use of it as well?

Honestly that'd be more than I'd want in the container, at least myself - you can manually do this a few ways, but if it's important to you, there are definitely a few options out there you can investigate and work through! 👍

  • 5 months later...

 

On 3/15/2022 at 7:21 PM, BVD said:

I've mine mapped to the Notes folder from my nextcloud location - you'll have to set up nextcloud to scan for file changes on occasion for this to work properly, but once done, it works out pretty well.

 

Also tryed to use sync by nextcloud on Android ,but its only sync to nextcloud sever (from my expirience) 

but fully working with Syncthing two ways on Notes Folder in Android and Notes in Unraid share that you can use in obsidian web container.

Also there unnoficial plugins for sync for nextcloud webdav. 

  • 3 months later...

Is copy/paste from outside obisidian into obsidian supposed to be working? It does not for me. I suppose based on the fact that it runs in xterm?

The way I would use obsidian is to paste content into it in 99% of my use cases.

  • 4 weeks later...

I managed to add the dockermod git, but since I sync my vaults via GitHub I cannot use password authentication.
I tried copying a working (on another device) config and keys into  ~/.ssh  then /config/.ssh and /config/.config/.ssh but none of them seem to be working

 

Edit: I found out that known_hosts keys gets created in /root/.ssh so I moved my files there and that worked.
Also make sure to adjust filepaths in the config, I had my Identityfiles with absolute paths like "~/.ssh/key1" and such

 

Also found out: ~/ is actually mapped to /vaults/ ?? Shouldn't that be mapped to /root/ for root user?


And, it looks like the user running obsidian is 'abc', whose home folder is /config.
I was about to complain that it should be /vaults (so they would pop up when you go "open from folder", but with /config it will find /config/.ssh

Soooo, I guess don't open the shell from unraid / docker menu, but use xterm instead.
You'll still have to change ownership of files, bc the files I moved into appdata/obsidian/config folder had root as owner.
So to do that I went via the unraid/docker menu, cause I do not know the root password in the container and logs me in as root :D
But again it turns out: no password needed to run sudo commands as user 'abc' :D so you can also do this as user abc:
 

sudo chown abc:abc -R /config/.ssh

  

I also needed to adjust permissions:

sudo chmod 700 /config/.ssh
sudo chmod 600 /config/.ssh/*

sudo chmod 644 /config/.ssh/*.pub

So I first put the more restrictive 600 -rw------- on all files in the folder and then I add 644  -rw-r--r-- on the publickeys only.
 

 

And now it works :)
 

Edited by wambo

  • 1 month later...

The version of obsidian that this container uses is 8 months out of date. Is there a way to update it?

  • 1 month later...

Hi,

   The docker version of Obsidian doesn't have the option to create a canvas, unlike the desktop Mac OSX version. Is that down to a version difference?

  • 2 weeks later...
On 2/27/2023 at 7:55 PM, Masterism said:

The version of obsidian that this container uses is 8 months out of date. Is there a way to update it?

I changed the image to braintobytes/obsidian-remote. That image has the same configuration (it's a fork of sytone/obsidian-remote) but uses a python script to download the latest Obsidian version upon image creation.

 

Check the Dockerfile for the update steps if reference is needed.

 

This configuration is also missing the usual PUID=99 and PGID=100 variables for writing files in good permissions for the share, just in case you encounter issues while accessing the files from another Obsidian installation in your PC.

 

image.thumb.png.667a779250970754423030ac66fe2139.png

Edited by djismgaming
latest version screenshot

  • 1 month later...
On 4/20/2023 at 3:59 AM, djismgaming said:

This configuration is also missing the usual PUID=99 and PGID=100 variables for writing files in good permissions for the share, just in case you encounter issues while accessing the files from another Obsidian installation in your PC.

I fought for 2 days with Syncthing and my phone (was thinking it was a Syncthing issue) trying to get passed some permission denied issues. Noticed the files and directories this would make were all authored as UNKNOWN. Ultimately I just ended up installing it via the Obsidian official windows installer into my VM, no sync or permission issues after that. I love the idea of running it in a docker though.

  • 1 year later...

I'm trying to think of a way to make this run in addition with my existing setup:

Obsidian Installations on my windows machines with obsidian-git for syncing

But I'd also like to be able to access this from remote, when I'm not on my own computer, issues I'm seeing:
- how to access the docker securely? (doesn't seem to run on https?)

 

What are ppl using to "secure" the access to the ksmvnc? 
As a LIO image there is support for swag as reverse proxy, but I really want a proper layer of protection there...

  • 2 months later...

Hello!

Can two or more users work in independent spaces? When I launch Obsidian there is no option to specify a user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.