TCP Domain missing

I want to connect to the supabase postgres database, but when I try to connect the it refuses. I think the problem is that you cannot create a tcp domain rule in the UI, like described here: https://community.traefik.io/t/access-postgresql-instance-with-subdomain-using-traefik/15367/2 @Siumauricio
Traefik Labs Community Forum
Access Postgresql instance with subdomain using traefik
Hello @aristos Here is an example docker-compose that will setup Postgres, pgadmin and Traefik. The Postgres container listens by the default on port 5432, I'm also setting up a TCP entrypoint and router in Traefik on the same port. #Traefik static configuration /sandbox/configs/static/proxy-v2.yml api: dashboard: true debug: true entryP...
No description
No description
No description
9 Replies
Siumauricio
Siumauricio5mo ago
We don't have support for tcp entrypoints yet, however you can add by yourself
andrew.tr
andrew.tr5mo ago
You can go to the traefik system file and add your own entrypoint, then add custom traefik labels to your instance. You might need to apply > reload the traefik > redeloy the instance to have it affected.
tschuehly
tschuehlyOP5mo ago
ah ok thx
Rickson Lima
Rickson Lima3mo ago
Hey @tschuehly , did you solve it? I'm still looking for it :/
tschuehly
tschuehlyOP3mo ago
Nope I just use a supabase.com instance
Rickson Lima
Rickson Lima3mo ago
Sadly. That's my temporary solution too
Henrik
Henrik3mo ago
I have earlier set up custom ssh routing. I image it would be the same process since it is just arbitrary tcp routing. The most common problem I have seen other people have with this kind of problem is opening the port on their firewall
Rickson Lima
Rickson Lima3mo ago
Could you provide some guide to achieve it? I've tried to setup a tcp entrypoint in traefik.yml but have no success because the database connection in :5432 port stills refuse/unreachable.
Henrik
Henrik3mo ago
Its too specific to provide my example, but I can help you out

Did you find this page helpful?