File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,6 @@ services:
3
3
opensearch-node1 : # This is also the hostname of the container within the Docker network (i.e. https://opensearch-node1/)
4
4
image : opensearchproject/opensearch:latest # Specifying the latest available image - modify if you want a specific version
5
5
container_name : opensearch-node1
6
- environment :
7
- - cluster.name=opensearch-cluster # Name the cluster
8
- - node.name=opensearch-node1 # Name the node that will run in this container
9
- - discovery.seed_hosts=opensearch-node1,opensearch-node2 # Nodes to look for when discovering the cluster
10
- - cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2 # Nodes eligible to serve as cluster manager
11
- - bootstrap.memory_lock=true # Disable JVM heap memory swapping
12
- - " OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM
13
6
ulimits :
14
7
memlock :
15
8
soft : -1 # Set memlock to unlimited (no soft or hard limit)
@@ -27,13 +20,6 @@ services:
27
20
opensearch-node2 :
28
21
image : opensearchproject/opensearch:latest # This should be the same image used for opensearch-node1 to avoid issues
29
22
container_name : opensearch-node2
30
- environment :
31
- - cluster.name=opensearch-cluster
32
- - node.name=opensearch-node2
33
- - discovery.seed_hosts=opensearch-node1,opensearch-node2
34
- - cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
35
- - bootstrap.memory_lock=true
36
- - " OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
37
23
ulimits :
38
24
memlock :
39
25
soft : -1
You can’t perform that action at this time.
0 commit comments