12345678910111213141516171819202122 |
- [base]
- ;官方源
- library =
- path = {base}
- [mongodb]
- num = 1
- image = mongo
- volumes = {path}data/elastic/{name}:/data/db
- [elastic]
- num = 1
- port = 21000:21000
- image = docker.elastic.co/elasticsearch/elasticsearch:5.4.1
- volumes = {path}conf/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml,{path}data/elastic/{name}:/data/elasticsearch
- environment = http.host=0.0.0.0,transport.host=127.0.0.1,ES_JAVA_OPTS=-Xms4096m -Xmx4096m
- [kibana]
- num = 1
- port = 5601:5601
- image = docker.elastic.co/kibana/kibana:5.4.1
- environment = ELASTICSEARCH_URL=http://127.0.0.1:9200,ELASTICSEARCH_USERNAME=elastic,ELASTICSEARCH_PASSWORD=changeme
|