diff options
Diffstat (limited to 'extra/docker/elk/docker-compose.yml')
-rw-r--r-- | extra/docker/elk/docker-compose.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/extra/docker/elk/docker-compose.yml b/extra/docker/elk/docker-compose.yml index 3b7284d5..2f1ce246 100644 --- a/extra/docker/elk/docker-compose.yml +++ b/extra/docker/elk/docker-compose.yml @@ -2,16 +2,20 @@ version: '3.1' services: elasticsearch: - image: elasticsearch + image: docker.elastic.co/elasticsearch/elasticsearch:6.1.3 ports: - 9200:9200 networks: es_net: aliases: - elasticsearch + environment: + - cluster.name=docker-cluster + - bootstrap.memory_lock=false + - "ES_JAVA_OPTS=-Xms512m -Xmx512m" logstash: - image: logstash + image: docker.elastic.co/logstash/logstash:6.1.3 volumes: - ./logstash-conf:/config-dir command: logstash -f /config-dir/logstash.conf @@ -28,9 +32,10 @@ services: - event_topic=EVENT_TOPIC - notification_topic=NOTIFICATION_TOPIC - request_topic=REQUEST_TOPIC + - elasticsearch_hosts=elasticsearch kibana: - image: kibana + image: docker.elastic.co/kibana/kibana:6.1.3 ports: - 5601:5601 depends_on: |