This tutorial gives a great overview of how to setup a live-sync backend for Obsidian, would be nice to have this as a template https://www.reddit.com/r/selfhosted/comments/1eo7knj/guide_obsidian_with_free_selfhosted_instant_sync