Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fig / Docker-Compose-like JSON to feed into Mesosphere/Marathon to setup Multi-Tier Application

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

like image 873
user2362699 Avatar asked May 01 '15 18:05

user2362699


People also ask

Can I use the mesos containerizer with a docker container?

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.

How does marathon run on Apache Mesos?

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.

What's new in Marathon for Docker containers?

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.

How do I use multiple environment variables in Docker Compose?

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).


1 Answers

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.

like image 125
Michael Hausenblas Avatar answered Sep 17 '22 11:09

Michael Hausenblas