Reverse proxy requests via private networking to Docker container
I was trying to deploy a third-party docker image, and Railway ask to export the app via
0.0.0.0:PORT
. Since I can't modify the source code, neither the docker image has the SET of environment variable to do so.
I was thinking to create a separate app which will be public and routing requests via private networking to the Docker container.
Is that possible?6 Replies
Project ID:
N/A
N/A
you may be massively overthinking this, what are you trying to deploy
haha, maybe you're right. 😅
I am trying to deploy this, https://hub.docker.com/r/weblate/weblate
set a service variable PORT to 8080
this tells railway that the service listens on 8080
it likely already listens on 0.0.0.0 so you should be good in that regard
I see, let me try that.