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?

  • finestnothing@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    10 months ago

    I use dashy since it’s super easy to update (can update and save config from the webpage). If you want automatic adding though, flame can autoadd services if you put a couple lines of config in each docker compose

    • Rescuer6394@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      the only annoying thing is that is not possible to spin more than one homepages at the same time.

      so i have one homarr and one homepage

      • valkyre09@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 months ago

        Hi,

        I’m here today to talk to you about our lord and saviour, Docker.

        Do you have a moment to talk about containers?

      • brewery@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        I have two homepages, one for local and the other for remote (behind nginx and my authentication software). I also have one on a vm i use for testing before deployment. They are different docker containers but don’t see why you couldn’t have separate ones given they are just websites.

          • brewery@feddit.uk
            link
            fedilink
            English
            arrow-up
            2
            ·
            10 months ago

            I don’t use the docker labels feature so it doesn’t really matter to me but can see why you would want this to be implemented if you did. Hopefully they can figure it out.

            I have a “local” version with every prod service on. It’s only accessible on my home network with a pihole dns resolver. I just add the services manually to the services.yaml file, which doesn’t take long at all. I then have a “remote” version which is a much smaller with only services accessible outside my home network and is behind nginx/authentication software/cloudflare. Again, it doesn’t take long to add services really. Two different docker compose files, volumes with the settings, and ports makes it work fine for me. I guess depends how often you’re adding services.

  • PrejudicedKettle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 months 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).