improve container interconnectability #1910
Replies: 7 comments 1 reply
-
Yes! this is needed. |
Beta Was this translation helpful? Give feedback.
-
just wanted to check in, if this will be implemented anytime soon. @andrasbacsai |
Beta Was this translation helpful? Give feedback.
-
Maybe an environmental variable could be used for this? I would take that over how it works now. |
Beta Was this translation helpful? Give feedback.
-
I need that feature also so I made pull request: #4741 |
Beta Was this translation helpful? Give feedback.
-
This is a must-have feature! 🙏 @andrasbacsai are there any updates regarding the open PR? #4741 We are trying to deploy coolify to production with a cluster of 6 VPSs, but currently it is not possible without losing rolling updates. |
Beta Was this translation helpful? Give feedback.
-
The PR/feature will be released in the next version (v407). |
Beta Was this translation helpful? Give feedback.
-
At the moment one container can connect to the other (if on the same network) by assigning a static ip when attaching the container to the docker network with the
--ip
custom docker option.Rolling deployments are not longer possible and thus if the deployment failes the service is not available, which is not good at all.
But it makes sense as containers during deployment need to coexist (the old running one, the new one to deploy) in order for rolling deployments to work.
I suggest to implement the
docker run
parameter--network-alias
which would resolve this issue, as multiple containers can have the same alias on the same network. We could then reference containers by their network alias instead of their internal ip respectively.Beta Was this translation helpful? Give feedback.
All reactions