34 lines
935 B
YAML
34 lines
935 B
YAML
|
# This is the latest released environment.
|
||
|
|
||
|
version: '2.1'
|
||
|
services:
|
||
|
elasticsearch:
|
||
|
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.0
|
||
|
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.4.0
|
||
|
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.4.0
|
||
|
healthcheck:
|
||
|
test: ["CMD", "curl", "-f", "http://localhost:5601"]
|
||
|
retries: 300
|
||
|
interval: 1s
|