gault-millau/docker-compose.elasticsearch.yml
2019-11-18 17:35:16 +03:00

13 lines
332 B
YAML

version: '3.5'
services:
elasticsearch:
image: elasticsearch:7.3.1
volumes:
- gm-esdata:/usr/share/elasticsearch/data
hostname: elasticsearch
network_mode: 'host'
environment:
- "ES_JAVA_OPTS=-Xms4g -Xmx4g"
- discovery.type=single-node
- xpack.security.enabled=false
restart: always