Infrastructure-as-code for friendly neighbourhood single board computer? - eviltoast

I have an Odroid N2+ running Arch Linux ARM that I just love. I have installed a bunch of shit on it like jellyfin (TV), miniflux (RSS), gonic/airsonic-refix (music), soju/gamja (IRC), komga (comics).

I am starting to lose track of things. Like which port which service is running on. Sometimes I even forget which service I am running.

It would be nice to maintain a text configuration that I can use to provision this setup if I have to reinstall everything (as is tradition) and something I can glance over to get a state of things.

Any ideas for this? I feel like something like ansible should for this. I tried looking up stuff for this but search results always show some sweaty nerd managing kubernetes on a fleet of Raspberry Pis (the sweaty nerd calls it “homelab”). Before I start hacking my own stuff I would like to hear if someone else has experience with this.

Thanks.

  • loathsome dongeater@lemmygrad.mlOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    For not having to remember ports, use a reverse proxy.

    Do you do this? The prospect of editing nginx configuration scares the shit out of me. I am also scared of breakages if I (for example) set up a service at a subpath like ip_address/jellyfin/ rather than at a port (ip_address:8000) which feels like a root domain.