Network handling #119
Replies: 2 comments 8 replies
-
Hi @datablitz7, the reason being of creating the proxy network outside the docker-compose file is to select a custom subnet, that doesn't overlap with your existing networks, instead of letting docker choosing it. In this way, you are able to specify the IP address of any container and reference it in some specific configuration that doesn't allow DNS reference. If you select the Bridge mode, all the containers can talk to each other and can reach (and be reached by) any outside resource without any limitation. GZ |
Beta Was this translation helpful? Give feedback.
-
I implemented this in the latest commit: ec9b3b2 |
Beta Was this translation helpful? Give feedback.
-
Is there a particular reason for creating the proxy network outside the docker-compose file? It seems counter-intuitive to have an additional step. Personally I use the default bridge that is implicitly created up docker-compose up, but you can still name it and stand it up all in the yaml file:
Beta Was this translation helpful? Give feedback.
All reactions