33 lines
935 B
YAML
33 lines
935 B
YAML
# This is the latest 6.0 environment.
|
|
|
|
version: '2.1'
|
|
services:
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch-platinum:6.0.1
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9200"]
|
|
retries: 300
|
|
interval: 1s
|
|
environment:
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
- "network.host="
|
|
- "transport.host=127.0.0.1"
|
|
- "http.host=0.0.0.0"
|
|
- "xpack.security.enabled=false"
|
|
|
|
logstash:
|
|
image: docker.elastic.co/logstash/logstash:6.0.1
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9600/_node/stats"]
|
|
retries: 300
|
|
interval: 1s
|
|
volumes:
|
|
- ./docker/logstash/pipeline:/usr/share/logstash/pipeline:ro
|
|
- ./docker/logstash/pki:/etc/pki:ro
|
|
|
|
kibana:
|
|
image: docker.elastic.co/kibana/kibana:6.0.1
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:5601"]
|
|
retries: 300
|
|
interval: 1s
|