Replies: 3 comments 3 replies
-
|
This is really weird. Here is an example from a container (Gitea) that exposes the service on 3000: The above works. If I remove the port binding, it stops to work, despite 52001 not being referenced in TSDProxy |
Beta Was this translation helpful? Give feedback.
-
|
I ran into the same issue. If you don't specify the "ports" section in your compose file TSDProxy will give an error that the container has no ports. Technically it should not be necessary to expose ports on the host for a proxy to work, as it can directly connect to the container. I would expect TSDProxy to be similar to, for example, Treafik, where you configure the port the container uses only in a label and the proxy connects to it within the Docker network. |
Beta Was this translation helpful? Give feedback.
-
|
@almeidapaulopt - would you have any input or clarification? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As I am investigating my problems with TSDproxy , I noticed that the containers that "work" all have their ports mapped.
The ones that do not, do not have the mapping.
Going from
to (
ports:removed)breaks the connectivity.
Since TSDproxy is discussion with the containers at docker level (and therefore on the docker network) I do not understand why the mapping would be needed.
Note: I tried v1 and v2, with -for v2-
tsdproxy.port: "443/https:80/http"(I also triedtsdproxy.port.1: "443/https:80/http"( with.1))Beta Was this translation helpful? Give feedback.
All reactions