version: '3'
services:
es01:
image: hub.redblue-ai.com/elasticsearch:7.5.2
hostname: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- http.port=9200
- transport.tcp.port=9300
- network.host=es01
- network.publish_host=es01.redblue-ai.com
- discovery.seed_hosts=es02.redblue-ai.com:9301,es03.redblue-ai.com:9302
- cluster.initial_master_nodes=es01.redblue-ai.com:9200,es02.redblue-ai.com:9201,es03.redblue-ai.com:9202
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es01_data:/u