this post was submitted on 10 Sep 2023
60 points (96.9% liked)

Selfhosted

40746 readers
347 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] PrejudicedKettle 2 points 1 year ago* (last edited 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).