• 1 Post
  • 95 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle




  • What I do right now is I have a rclone sidecar container that uploads files in a directory every few seconds, and I also have another init sidecar that runs before the main application and downloads those files (incl sqlite dbs) to the normal disk. This works okay but feels pretty clunky and can still result in stuff getting corrupted because I’m just backing up the db files and not using any sqlite commands to actually back up the db to another file that isn’t in-use first.

    How do you handle a job going from one nomad node to another? Or do you pin jobs like grafana to specific hosts?


  • Thanks! I’ll do some testing over the weekend and see how it goes.

    While I’d love to be able to use it for postgres, I figured that wouldn’t work out well so probably won’t try it any time soon. I do have several apps that use sqlite databases though, do you think those would have any issues? e.g. trilium, ntfy, ghost

    The main downside to most of the distributed/clustered storage that I’ve tried is they always seem to corrupt sqlite db files due to not supporting locking or some other posix feature. Reading through some older github issues, it looks like that is something the dev of seaweedfs fixed hopefully.





  • Bookstack is really nice and user friendly. It’s probably one of my favorites.

    Dokuwiki is simple and stores files in plaintext.

    I haven’t used wiki.js much but I’ve heard good things about it too.

    Another option if you don’t need to share the wiki with anyone would be a note tool like Trilium. It has built in support for stuff like mermaid or excalidraw diagrams.

    Don’t forget to setup backups for whatever wiki you do go with, and make sure you can restore them when your wiki is broken ;)











  • Are you familiar with lxc or chroots or bsd jails by any chance? If you are, you probably won’t find docker that much different to use other than a bigger selection of premade images.

    It is kind of sad that some projects are trending towards docker first, but I think learning how to make packages for package managers is also becoming less popular :(