R
Railway•17mo ago
Yashu

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
Percy
Percy•17mo ago
Project ID: N/A
Yashu
YashuOP•17mo ago
N/A
Brody
Brody•17mo ago
you may be massively overthinking this, what are you trying to deploy
Yashu
YashuOP•17mo ago
haha, maybe you're right. 😅 I am trying to deploy this, https://hub.docker.com/r/weblate/weblate
Brody
Brody•17mo ago
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
Yashu
YashuOP•17mo ago
I see, let me try that.
Want results from more Discord servers?
Add your server