docker-elasticsearch-stack/docker-compose.yml

23 lines
502 B
YAML
Raw Normal View History

2019-07-14 20:46:16 +00:00
version: '2.1'
services:
elasticsearch:
2019-07-14 21:14:30 +00:00
image: elasticsearch:$VERSION_ELASTICSEARCH
container_name: elasticsearch
#build: "https://git.scimetis.net/yohan/docker-elasticsearch.git"
2019-07-14 20:46:16 +00:00
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
expose:
- '9200'
- '9300'
networks:
- reverse-proxy
volumes:
- /mnt/volumes/elasticsearch_data/data:/usr/share/elasticsearch/data
2019-07-14 20:46:16 +00:00
networks:
reverse-proxy:
external: true