docker-volume-borg-backup/docker-elk/docker-compose-sandbox.yml

26 wiersze
623 B
YAML

version: '3.7'
volumes:
elasticsearch_data:
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
discovery.type: single-node
volumes:
- ./elasticsearch/data-sandbox:/usr/share/elasticsearch/data
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
kibana:
image: docker.elastic.co/kibana/kibana:7.10.1
volumes:
- ./kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml
ports:
- 5601:5601
depends_on:
- elasticsearch