-
Notifications
You must be signed in to change notification settings - Fork 157
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
Mutagen docker stack command #50
Comments
That's awesome! Seriously, thanks so much! This is exactly the sort of prototyping I was hoping would happen. As of November 1st I'll be switching to Mutagen work full-time (at least for the next few months), and one of my priorities will be adding a "plumbing" interface to Mutagen so that it's more script-friendly. I'm looking forward to playing with this tool. I'm not a container orchestration expert, but hopefully this'll help me identify some of the pain points (and opportunities) with integration. |
No problem :) The design was heavily influenced by docker-sync-stack My vote goes (at least for local development) to focus on integrating with docker-compose. Some sort of roadmap of what you're planning on releasing would also be greatly appreciated if you have the time! |
That's so cool to hear! I think the picture is becoming a little bit clearer in terms of what Docker support needs to look like and enable. I think big improvements will be in store in the next month. I'll keep you up-to-date. |
I wrote a python application mutagen-helper, just released today, that wraps mutagen binary and can help to manage your sessions. Put configuration in a yaml file in a directory to sync, and run It should really help to manage multiple projects, with one or many sessions per project. In my case, I will drop a single session containing about 20 projects to enable/disable sessions as needed to solve performance issues. |
Hey @matthew-gill, you might have a look at the new label/selector support in Mutagen v0.9.0-beta2 — it might make the implementation of your project a little simpler. It's designed to be compatible with the syntax that Kubernetes uses (since it actually re-uses the Kubernetes label/selector implementation). It might make scripting significantly easier. There are also new I'm going to close out this issue just to keep the issue tracker tidy, but it doesn't mean the discussion can't continue. Thanks again for your efforts! |
Hey @havoc-io I've created this:
https://github.com/matthew-gill/mutagen-stack
Which creates a command to handle mutagen stacks including clean up of both docker-compose and mutagen sessions.
It's designed to only work with one mutagen session, but should be relatively easy to extend.
This is just for your perusal, I don't claim to be an expert in bash etc, but I've been using this for a few days and have found it useful...
The text was updated successfully, but these errors were encountered: