Hello everyone!
I’ve deployed an app and it works quite well. However I’m trying to learn what is really going on to have a good understanding of this phase of development (deploying).
- It was deployed on Fly.io with the Dockerfile/docker-compose option
- It’s a container stack of a main app container (at 8080:8080), a Postgres container (at 5432:5432) and a redis container (6379/tcp). Redis container on Docker desktop doesn’t appear but I know it’s 6379/tcp. The feature that relies on it works normally on the main app.
- I deployed the project with flyctl then got two machines: #1 with the main app and #2 with the database.
When I run locally with my Docker desktop, I see the 3 containers in the same stack, all running separately. However, after deploying I see only 2 Machines, therefore I can access via console only the main app’s image/machine and the database.
How could I access the image of the redis’ container? I know its ports is not 6379:6379 but 6379/tcp (it seems that it only can be reached from the containers’ environment) but I don’t understand it quite well.
Could anyone explain me that? And how could I login on its system (using flyctl console …) ?
Thank you very much!