is it possible to use traefik to expose other services on the machine?
For example, i run proxmox on my server, can i use traefik to expose it too?
I tried adding a service and route using both tipi-compose at user-config and dynamic at traefik, with no success
4 Replies
Hello
Well it depends
If you wanna expose docker containers that's very much possible, you just need to add the container to the runtipi network and add the traefik labels
Now for services not running in docker, it's not posting
GitHub
GitHub - falkheiland/user-config: user configs for runtipi apps
user configs for runtipi apps. Contribute to falkheiland/user-config development by creating an account on GitHub.
my config is close to that one, maybe i need to add the passhostheader for it to work
services:
proxmox:
loadBalancer:
servers:
- url: "http://192.168.100.1:8006"
routers:
proxmox:
entryPoints:
- "websecure"
rule: "Host(
http://proxmox.xxx.duckdns.org
)"
service: "proxmox"
tls:
certresolver: "myresolver"
got it to work! needed 2 things, the passhostheader: true and also serversTransport: insecuretransport, both in services
thank you so much @InfBoumcyCastle
btw, i guess you answered 2 problems there, i had gave up on authentik because it was going on a loop, the middleware forwarded but when i logged in on it, i was sent back to it again
that example also have the trustForwardHeader: true, that im guessing will solve thisworth a new try then I guess 🙂