I've had SB running locally from the binary for a while now.
I want to start accessing it from other than Localhost, so I've got Tailscale up and I'm trying to get Docker going, using Zef's instructions here. I changed the "-v" parameter to "-v /DATA/Documents/sb:/sb"
I've disabled auto-start of the binary SB, and the Docker instance works, Localhost:3000/sb shows the "Welcome to the wondrous world of SilverBullet" page. (in fact it also shows that page without the '/sb')
Can anyone help me get the Docker instance to start serving the files I've already got?
/DATA/Documents/silverbullet is where my old space lived. I did 'mkdir space' and moved all the files into it.
But SB is not indexing any of the symlinked folders -- I can only see files and directories that are actually in the space. And I can't get Document Explorer plug working. (related??)
I seem to remember having problems with symlinks in the past.....
You can use symlinks, but Docker does not automatically follow symlinks to the destination on the host filesystem on it's own. You have to make sure that you mount (make available) the symlink destinations at the exact same paths inside the container.
So if you have /DATA/Documents/silverbullet/space/a-symlink with destination /DATA/Documents/notes/a-symlink-destination, you would have to add (in addition to your space)