# This is the latest stable release environment
# It inherits from base.yml

version: '2'
services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:5.4.1
    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:
    build:
      context: docker/logstash
      dockerfile: Dockerfile
      args:
        ELASTIC_VERSION: 5.6.8
        DOWNLOAD_URL: https://artifacts.elastic.co/downloads
    environment:
      - ES_HOST=elasticsearch

  kibana:
    image: docker.elastic.co/kibana/kibana:5.4.1
