2024-03-14 10:10:45 +01:00

40 lines
776 B
YAML

version: '3'
services:
elasticsearch:
image: elasticsearch:7.9.3
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms2g -Xmx2g
networks:
- minicloud_network
volumes:
- esdata:/usr/share/elasticsearch/data
kibana:
image: kibana:7.9.3
depends_on:
- elasticsearch
ports:
- "5601:5601"
networks:
- minicloud_network
logstash:
image: logstash:7.9.3
ports:
- "12201:12201"
depends_on:
- elasticsearch
deploy:
mode: global
networks:
- minicloud_network
volumes:
- ./logstash-pipeline:/usr/share/logstash/pipeline/
volumes:
esdata:
driver: local
logstash-pipeline:
driver: local
networks:
minicloud_network:
external: true