docker-elasticsearch-stack/docker-compose.yml

28 lines
554 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
2019-07-14 20:46:16 +00:00
build: "https://git.scimetis.net/yohan/docker-elasticsearch.git"
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
restart: always
expose:
- '9200'
- '9300'
networks:
- reverse-proxy
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
networks:
reverse-proxy:
external: true
volumes:
elasticsearch_data:
2019-07-14 21:09:57 +00:00
external: true