first version
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
elasticsearch:
|
||||
image: 'docker.elastic.co/elasticsearch/elasticsearch:8.17.0'
|
||||
container_name: elasticsearch.node01
|
||||
restart: always
|
||||
hostname: elasticsearch.node01.maison
|
||||
volumes:
|
||||
- '/var/lib/docker/volumes/docker-elasticsearch/ES_data/:/usr/share/elasticsearch/data'
|
||||
ports:
|
||||
- '9300:9300'
|
||||
- '9200:9200'
|
||||
ulimits:
|
||||
memlock:
|
||||
hard: -1
|
||||
soft: -1
|
||||
environment:
|
||||
- bootstrap.memory_lock=true
|
||||
tty: true
|
||||
stdin_open: true
|
||||
|
||||
Reference in New Issue
Block a user