Re:Run Ordinary Rails Apps Globally (2021)
by mrkurt on Wednesday January 26, 2022 @11:19AM
(#30087403)
You do need the internal_port, you don't need `EXPOSE` though. Will you post your config file at https://community.fly.io so we can have a closer look?
Locally I run with docker run -p 8888:8888, so I assume the correct thing to do when deploying on fly is to build the image with EXPOSE 8888 in the docker file, and set the service internal_port = 8888 in fly.toml. Have I assumed this correctly?