+1 for Trilium, been using it for about a year now and I like it over the other solutions I've tried: Joplin, Obsidian, and logseq.
Don't forget about Trlium's white board feature! I didn't know it existed until recently - create a new "canvas" style note to get it started
I'm using GItea and it's been working great. Very easy to set up in docker.