Hey, I have to „draw“ or make notes of my selfhosting stuff. It runs so smooth that I sometimes really forget where a service is running or how to reach the web-Interface.

For sure I have a password- and link-manager, but I would like another independent note with the structure of my selfhosting.

Usually I use Joplin. Is there a plugin that shows me a kind of a map?

Or are there other apps - maybe wikis - that do it much easier/better than that?

How do you document your selfhosting?

  • aard@kyu.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    Everything is deployed via ansible - including nameservices. So I already have the description of my infra in ansible, and rest is just a matter of writing scripts to pull it in a more readable form, and maybe add a few comment labels that also get extracted for easily forgettable admin URLs.

      • bjornsno@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        You should definitely figure out some infra as code system now while it’s manageable. Normally I’d recommend docker-compose as it’s very easy to learn and has a huge ecosystem, but since you’re using proxmox you might need to look at ansible like the other commenter said. Having IaC with git makes it so much easier to test new stuff, roll changes back, and all that good stuff, in addition to solving your original problem of forgetting what is running where.

        Just find the simplest IaC solution possible. Unless you are gunning for a job in infrastructure you don’t need to go into kubernetes or terraform or anything like that, you just need something reproducible that you can easily understand and modify.

        • aard@kyu.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          Unless you are gunning for a job in infrastructure you don’t need to go into kubernetes or terraform or anything like that,

          Even then knowing when not to use k8s or similar things is often more valuable than having deep knowledge of those - a lot of stuff where I see k8s or similar stuff used doesn’t have the uptime requirements to warrant the complexity. If I have something that just should be up during working hours, and have reliable monitoring plus the ability to re-deploy it via ansible within 10 minutes if it goes poof maybe putting a few additional layers that can blow up in between isn’t the best idea.

  • pdavis@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    I still use Dia Diagram Editor for most things. I just wish it was still being updated.

    • daddy32@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Draw.io is also totally open and is able to be integrated into many different tools - so chances are your tool of choice already has a plug in for it. For example, nextcloud does.

  • antsu@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    My stuff is all in docker-compose with a stack/service structure, so listing it is as simple as running tree, and reading the individual YAML files if I need in-depth details.

    • N0x0n@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      KISS ! That’s the way I’m doing it. Although it kinda gets more difficult to keep track of every docker image update after you have a dozen containers.

      Thinking of something that could keep track and give me a nice notification about the changes and give a link to the github page before updating the container.

  • trilobite@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    This is an intersting thread because I read through the lines the concerns that many have about losing parts of their homelab. Something I too am concerned about. While I have learnt to put my data securely on NAS with docker compose (I.e. docker image runs on VM while data i s stored on NAS and nas dataset is mounted via NFS on VM), in still not clear ho I save the config on the docker container. Basicalky, if I want to move that docker image to a new VM, how do I go about it?

    • Passerby6497@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      As long as you have your config files and whatever data from the app (both should be mapped from the container to the host), just copy it to the new system and start your container.

      I have all my config files on my nas, but too many of my apps run off dbs so I need to figure out a way to backup the local database folder so I can have the actual data on my nas as well as just the configs.