Greetings Lemmings,

I realize that self-hosting for many is just a hobby. Something they do for fun. And the topic of today is usually a "not-so-fun" part of the IT industry.

Jump Scare Warning

Documentation

I have for so long just let my lab grow organically. And months down the road an issue pops up with a service, and I have no idea how I set something up, and may not have documented it. Whether that be comments inside of configuration files, or via other means.

I have gotten marginally better at documenting within the config files or code that I am writing. However, I don't want just that as an option. So I spun myself up a Bookstack container.

I am slowly going through and creating what would amount to a full blown wiki for my setup. Doubly I can use this as part of my resume.

So I ask of you; what ways do you prefer to document? How do you keep yourself honest, and actually stick to it.

Edit: I created bash scripts that are run by a systemd service and timer. At least for my docker box.

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 2 points 3 months ago (2 children)

I am taking a similar philosophical approach.

I'm lazy too, so I am working on havinf most docker documentation automated...

If I have to do it more than once, automated.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 months ago (1 child)

    For docker, use compose, and map it all to one spot with subdirectories, and also map the config for the service to a spot on your disk/nas.

    I put them in one spot on my NAS under services, so it looks like:

    /services/service_name/docker-compose.yml /services/service_name/config/

    Easy peasy lemon squeezy.

  • source
  • parent
  • hideshow 1 child comment