Skip to content

Instantly share code, notes, and snippets.

@erhwenkuo
Created May 15, 2016 02:26
Show Gist options
  • Save erhwenkuo/d833540bbe971f313ebaad6534d98212 to your computer and use it in GitHub Desktop.
Save erhwenkuo/d833540bbe971f313ebaad6534d98212 to your computer and use it in GitHub Desktop.
{
"id": "mysql-d3",
"container": {
"docker": {
"image": "mysql",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 3306, "hostPort": 0 }
],
"privileged": true,
"parameters": [
{
"key": "env",
"value": "MYSQL_ROOT_PASSWORD=mysecretpassword"
}
],
"forcePullImage": false
},
"type": "DOCKER"
},
"cpus": 0.2,
"mem": 32.0,
"instances": 1
}
@erhwenkuo
Copy link
Author

Mesos-Marathon json configuration to run mysql under docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment