paypal / dce-go

Docker Compose Executor to launch pod of docker containers in Apache Mesos.
Apache License 2.0
63 stars 48 forks source link

Adding support for creating dev environment using docker-compose #89

Closed ridv closed 2 years ago

ridv commented 4 years ago

Added support for using docker-compose to build dev environment.

I used a lot of pieces from gorealis to build this which doesn't have docker-compose installed on the mesos-agent which means we need to add docker-compose to the image and put it in the dcego dockerhub repo.

This also makes testing a lot better on our CI by allowing us to successfully launch a task.

JiaminZhu commented 4 years ago

Thanks @ridv It will be helpful if you can update the document here on how to bring up dev environment by using docker-compose. So it will be clear on what we support on dev environment so far.

ridv commented 4 years ago

That's actually something I wanted to discuss before writing the docs. Do we want to keep our Vagrant set up and/or our Marathon set up? We haven't updated either in quite a long time and don't really feel it's worth maintaining given the decreased activity with regards to Marathon.

Obviously the executor will continue to be compatible with Marathon but given how out of date our information probably is, I'd rather leave it as an exercise to the user as to how to run the executor with Marathon.

No strong feelings on this so let me know either way.