Closed luislavena closed 7 years ago
Thank you for trying out cage
and for the kind words!
I've added basic support for volumes
at the top-level of a file and I'm releasing cage 0.1.3. There are a few limitations:
volumename: {}
instead of volumename:
if you're not setting any options on the volume. I can work around this, but doing so will require some custom serde deserializers, which can be a bit fiddly.driver_opts
, the value fields must all be strings. Again, serde issues.Note that all our target
-specific functionality should be supported. For example, you should be able to use an ordinary volume in development, but an external named volume with a specific driver in production. Let me know if you need any help setting this up.
This feature is brand new, and I haven't tested it beyond basic unit tests, so please let me know whether it works in the real world!
Also, as one of the first non-Faraday users of cage
, your feedback is really valuable! Please let us know what works, what doesn't, and what's just plain confusing. :confused: :question:
If you have any questions or ideas for new features, please don't hesitate to open up a new issue! You're also welcome to browse through our existing "RFC" issues which propose ideas for new features, and let us know what you think.
Depending on the time of day, you may also be able to reach us on our Gitter channel and ask us questions directly. Our focus right now is making cage
as easy as possible for non-Faraday people use, and so your questions are really valuable.
Travis CI is back online, and you should be able to get binary builds of cage 0.1.3.
Thank you @emk for the promptly and detailed response!
re: volumes
caveat, :+1:
Will definitely send around feedback or jump on Gitter to ask question. I like that some of the questions I had yesterday in my mind were already covered by some of the RFC :smile:
Now need to test out against a real life project and will have me poking around :wink:
Once again, thank you for the promptly response and making cage available to the world! :heart: :heart: :heart:
Also, as one of the first non-Faraday users of cage
, your feedback is
really valuable! Please let us know what works, what doesn't, and what's
just plain confusing. :confused:
If you have any questions or ideas for new features, please don't hesitate to open up a new issue! You're also welcome to browser through our existing "RFC" issues ( https://github.com/faradayio/cage/issues ) which propose ideas for new features, and let us know what you think.
Depending on the time of day, you may also be able to reach us on our
Gitter channel ( https://gitter.im/faradayio/cage ) and ask us questions
directly. Our focus right now is making cage
as easy as possible for
non-Faraday people use, and so your questions are really valuable.
@luislavena I just wanted to thank you for the suggestion to use named volumes!. We've entirely switched over to them in-house and we're very happy with them.
You might also be interested that we have an experimental Windows port, and a new up --init
command that makes it easier to initialize databases when users first install a project.
If there are any other features that would make cage
easier to use, please don't hesitate to let us know about them. Most things that other people suggest actually end up benefiting our own in-house team sooner or later, so we're very interested in feedback.
Thank you for the follow up @emk, I'm testing things out and will take a look to the RFC issues as I go.
:heart: :heart: :heart:
Hello!
Thank you for creating and releasing this project to the world! :smile: :heart_eyes:
Was playing around and found that while docker-compose v2 file format is supported (
version: 2
) it is not possible to define named volumes instead of locally mapped ones.Take the following change to example
db.yml
:Result in the following error:
Removal of
volumes
section result in the following error from docker-compose:The following is the entire debug output:
Platform details: Linux Ubuntu 15.10 (Willy) x64 Cage: 0.1.2 Docker: 1.12.2 Docker-Compose: 1.8.1
Please note that I'm also using docker-machine and not native docker service. While still is possible to mount local directories across VM/native, I was aiming to ease usage of existing data in some projects.
Please let me know if other details are required.
Once again, thank you for creating and making this tool available! :heart: :heart: :heart: