I use homer as a fancy bookmark manager for my home server. But I hate updating the config file every time I add a new service. Are there any dashboards that allow you to update items with an API/using docker labels like Traefik?

  • @PrejudicedKettle@lemmy.world
    link
    fedilink
    English
    2
    edit-2
    1 year ago

    Everything I tried was annoying to use and didn’t do what I wanted for some reason, so I just made my own. This took some time, but not as much as I expected.

    • I copy and pasted a GitHub Action from the official docs which generates a Docker image and publishes it to GitHub Packages.
    • On the server, I use Portainer’s “Stacks” (which are just Docker Compose files) for all programs and games, so I just added a new stack which uses my image from GitHub.
    • The server also has Watchtower installed on it (inside a container of course), which updates all containers, including the dashboard.
    • Portainer and Watchtower both share the same Docker configuration, so I only need to configure my GitHub access token in one place (e.g., Portainer’s UI).