mesos Elasticsearch docker

docker pull mesos/elasticsearch-scheduler:latest

{
  "id": "es-rexray",
  "cpus": 0.5,
  "mem": 128,
  "instances": 1,
  "args": [
    "--zookeeperMesosUrl", "zk://ip:2181/mesos",
    "--elasticsearchCpu", "0.5",
    "--elasticsearchRam", "1024",
    "--elasticsearchDisk", "1024",
    "--externalVolumeDriver", "rexray"
  ],
  "env": {
    "JAVA_OPTS": "-Xms32m -Xmx128m"
  },
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "mesos/elasticsearch-scheduler:latest",
      "network": "HOST",
      "forcePullImage": true
    }
  },
  "ports": [31100],
  "requirePorts": true
}

相关推荐