Hello Selfhosted peeps!
So I just got Traefik v3 setup inside my docker environment, and successfully got SSL certs for my services hosted within docker. However, I have an external device hosting PiHole and Wireguard-UI. I am looking to use the docker instance of Traefik v3 to obtain SSL certs for the internal use only for PiHole and Wireguard-UI.
I am still new to Traefik, and have no idea if this is possible, or how I would go about doing this.
Any tips, suggestions, links to documentation; I am all ears.
These 2 resources I utilized to help further my understanding.
Thank you
I think you’re close.
You need to change service: pihole-rtr
to service: pihole-svc
.
Do I have to redefine all of the same information I did in my Traefik yml but in this separate config.yml?
No, you just need to reference it like you have. Define once, reference many.
I hate to report back, but something isn’t quite working for pihole behind Traefik.
running “docker logs traefik” returns no error, and yet no certificate was presented to my pihole.
Not sure what else I might be missing or that I might have wrong.
Can you see the router and service in the Traefik dashboard and do they show any errors there?