docker.conf 650 B

12345678910111213141516171819202122
  1. [base]
  2. ;官方源
  3. library =
  4. path = {base}
  5. [mongodb]
  6. num = 1
  7. image = mongo
  8. volumes = {path}data/elastic/{name}:/data/db
  9. [elastic]
  10. num = 1
  11. port = 21000:21000
  12. image = docker.elastic.co/elasticsearch/elasticsearch:5.4.1
  13. volumes = {path}conf/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml,{path}data/elastic/{name}:/data/elasticsearch
  14. environment = http.host=0.0.0.0,transport.host=127.0.0.1,ES_JAVA_OPTS=-Xms4096m -Xmx4096m
  15. [kibana]
  16. num = 1
  17. port = 5601:5601
  18. image = docker.elastic.co/kibana/kibana:5.4.1
  19. environment = ELASTICSEARCH_URL=http://127.0.0.1:9200,ELASTICSEARCH_USERNAME=elastic,ELASTICSEARCH_PASSWORD=changeme