[base] ;库来源 library = docker.shemic.com/ path = {base} network = elk ;版本号暂无用处 version = elk5.5.1 [java] image = dev/java command = share_java alias = java restart = false [es] image = elastic/elasticsearch port = 9200:9200 volumes = {path}conf/elastic/elasticsearch:/usr/local/elasticsearch/config command = elasticsearch hook.start = elasticsearch [#logstash] ;暂时不用,如需启用,请修改filebeat配置 image = elastic/logstash volumes = {path}conf/elastic/logstash:/usr/local/logstash/config command = logstash [filebeat] image = elastic/filebeat volumes = {path}conf/elastic/filebeat:/usr/local/filebeat/config,{path}logs/nginx/web-nginx/logs:/root/filebeat command = filebeat [kibana] image = elastic/kibana port = 5602:5601 volumes = {path}conf/elastic/kibana:/usr/local/kibana/config command = kibana