The original post: /r/selfhosted by /u/poculeka on 2025-03-13 21:20:30.

I’m running containers on multiple servers and I wanted to see their status on my Glance page. I couldn’t find any widget dedicated for it, but, fortunately, custom-api exists and, fortunately, my containers are connected to Portainer. So I glued docker-containers HTML template with Portainer responses to get something similar to docker-containers widget.

You can find the gist here: click!

This cusom-api template reads glance.url, glance.name, glance.description and glance.icon labels from containers (although glance.icon shouldn’t have any prefix like di: or si:).

It’s not much, but I thought some of you might want to reuse it :)

It looks like this:

https://preview.redd.it/xi46lvguxioe1.png?width=1556&format=png&auto=webp&s=ef660a5fc7ead825a61947cc15172731349310d0