{
  "id": "/test/mysql",
  "env": {
    "MYSQL_ROOT_PASSWORD": "t0ps3cr3t"
  },
  "instances": 1,
  "cpus": 1,
  "mem": 512,
  "disk": 1024,
  "container": {
    "volumes": [
      {
        "containerPath": "mysqldata",
        "mode": "RW",
        "persistent": {
          "type": "root",
          "size": 1000
        }
      },
      {
        "containerPath": "/var/lib/mysql",
         "hostPath": "mysqldata",
         "mode": "RW"
      }
    ],
    "docker": {
      "image": "mysql",
      "portMappings": [
        {
          "containerPort": 3306,
          "protocol": "tcp",
          "labels": {
            "VIP_0": "/test/mysql:3306"
          }
        }
      ],
      "network": "USER"
    }
  },
  "ipAddress": {
    "networkName": "dcos"
  }
}
