-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathopensearch.yml
37 lines (36 loc) · 962 Bytes
/
opensearch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
opensearch:
image: opensearchproject/opensearch:2
container_name: opensearch
restart: always
# network_mode: host
environment:
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=Ple4s4Ch4ngeMe
- cluster.name=opensearch
- node.name=opensearch-01
- discovery.type=single-node
- bootstrap.memory_lock=true
# - network.host=127.0.0.1,10.148.0.30
- http.compression=true
- "OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- ./opensearch_data:/usr/share/opensearch/data
ports:
- 9200:9200
dashboard:
image: opensearchproject/opensearch-dashboards:2
container_name: opennsearch-dashboard
restart: always
# network_mode: host
environment:
- OPENSEARCH_HOSTS=https://opensearch:9200
# - SERVER_HOST=127.0.0.1
ports:
- 5601:5601