Does anyone know if it is possible to setup a JSON file to feed into Mesosphere/Marathon to deploy multi-tier application with application dependency? Something along the lines of fig or docker compose when there is one yaml file describing applications to deploy and their dependency and etc ?
Thanks!!
Alex
Docker containerizer using the native Docker Engine as runtime. The Universal Container Runtime (UCR) extends the Mesos containerizer to support provisioning Docker container images. This means that you can use both the Mesos containerizer and other container image types.
The graphic below shows how Marathon runs on Apache Mesos acting as the orchestrator for other applications and services. Marathon is the first framework to be launched, running directly alongside Mesos. This means the Marathon scheduler processes are started directly using init, upstart, or a similar tool.
Starting with version 0.7.6, Marathon supports two new keys for docker containers: privileged and parameters. The privileged flag allows users to run containers in privileged mode.
If you have multiple environment variables, you can substitute them by providing a path to your environment variables file. By default, the docker-compose command will look for a file named .env in the project directory (parent folder of your Compose file).
Yes, it's possible, see Application Deployments. I'm in the process of extending the Marathon doc to make this even clearer. Will provide updates here as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With