New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LAUNCH_EXT_NETWORKS_IPV4 #26
Conversation
First of all, thank you for your merge request. Looking at the documentation, I see a series of problems with this:
The more I read the docs, the more I realize that this would require a major rework (probably among the lines of deciding between v2 and v3 and then ensuring that the remaining options are actually compatible with the selected version). |
It's true the I can drop the If you want I can add support for static ips on the internal bridge networks by adding an Maintaining and testing multiple versions of compose sounds like adding too much complexity to me? |
Yeah, would be a nightmare to keep tracking what gets implemented when. I can accept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've finished now the review, however I worry about setting the same IP address on multiple LAUNCH_EXT_NETWORKS
. I see a few possibilities here: either the IP address is set only for the first network in the list (and this needs to be documented in the README), or we find a way to include as a separate variable (e.g. in the form LAUNCH_EXT_NETWORKS_IPV4=mynetwork:10.0.0.1
)
Co-authored-by: Alex Thomae <git@alex.thom.ae>
I've used a couple of bashisms to split the separators in |
MR with changes open: https://gitlab.com/ix.ai/swarm-launcher/-/merge_requests/25
Thanks for your work. I've built a new version of You can also take it for a spin and see if it works. Edit: |
The MR looks much better than mine especially making the |
Thanks for the feedback. I've release |
This PR adds two useful options as static ip addresses are not supported in swarm mode: moby/moby#24170.