For note taking, you might even get by without self-hosting, looking at software like Obsidian which works perfectly fine with just SyncThing to sync between devices, or just literally any other file syncing solution, self-hosted or otherwise.
Obsidian is great. I'll also throw https://logseq.com/ into the discussion. I just switched from obsidian to it because it better suits my workflow for taking notes.
It's not quite as full featured as Evernote, but I like Joplin. It can sync using Nextcloud, OneDrive, WebDAV, and other services. It's end to end encrypted and works well on Android!