docker-compose.yaml 672 B

1234567891011121314151617181920212223
  1. # You need to run 'sysctl -w vm.max_map_count=262144' on the host machine
  2. elasticsearch6:
  3. image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.1
  4. command: elasticsearch
  5. ports:
  6. - "11200:9200"
  7. - "11300:9300"
  8. fake-elastic6-data:
  9. image: grafana/fake-data-gen
  10. network_mode: bridge
  11. environment:
  12. FD_DATASOURCE: elasticsearch6
  13. FD_PORT: 11200
  14. filebeat6:
  15. image: docker.elastic.co/beats/filebeat-oss:6.7.1
  16. command: filebeat -e -strict.perms=false
  17. volumes:
  18. - ./docker/blocks/elastic6/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
  19. - /var/log:/var/log:ro
  20. - ../data/log:/var/log/grafana:ro