I've got both Heimdall and Pi-Hole running in docker. They both work fine, but I'd like to get the Pi-Hole advanced statistics in Heimdall. The others, I just put on the bridge network, but I'm not sure I can have the Pi-Hole on bridge and the macvlan network. Is that possible, or is there a better way to accomplish this?
7 Comments
Fenzik@lemmy.ml · 1 pts · 2y
Why not? You can just connect the PiHole container to both networks and inter-container communication should work as usual. I haven’t tried this with PiHole specifically but I’ve done it with other services in the past
atfergs@lemmy.world · 1 pts · 2y
Maybe I just don't know how... Do you have a compose script you could share?
Fenzik@lemmy.ml · 2 pts · 2y
Not for PiHole but I was testing this recently with traefik. This has a bunch of traefik stuff in there (I’m on mobile so it’s too hard to edit it) but hopefully you see how the networks work
atfergs@lemmy.world · 1 pts · 2y
This is great, thank you!
Rik@lemmy.world · 1 pts · 2y
I haven't been able to figure this out either, my dashboard is just links to my other containers with no obvious way to get at the juicy stats.
atfergs@lemmy.world · 1 pts · 2y
You can get access to most of them by setting them all to use the bridge network (network_mode: bridge). Then if you inspect the bridge network, you can see the bridge network ip's of them all and use that for Heimdall. The Pi-Hole is an exception though since it requires a different network.
ABeeinSpace@lemmy.world · 1 pts · 2y
Can Heimdall use the Docker socket?