Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Simplifying the setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Mar 12, 2024
1 parent 5bd3fee commit 36a382b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 41 deletions.
40 changes: 7 additions & 33 deletions docker-compose-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,16 @@ services:
plugins.security.disabled: "true"
DISABLE_INSTALL_DEMO_CONFIG: "true"
JAVA_HOME: /usr/share/opensearch/jdk
network.host: "0.0.0.0"
OPENSEARCH_INITIAL_ADMIN_PASSWORD: SuperSecretPassword_123
cluster.name: os-cluster
network.host: 0.0.0.0
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- "./opensearch-cluster.yml:/usr/share/opensearch/config/opensearch.yml"
- "os-data1:/usr/share/opensearch/data"
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
ports:
- 9200:9200
- 9600:9600
Expand All @@ -41,24 +34,17 @@ services:
plugins.security.disabled: "true"
DISABLE_INSTALL_DEMO_CONFIG: "true"
JAVA_HOME: /usr/share/opensearch/jdk
network.host: "0.0.0.0"
OPENSEARCH_INITIAL_ADMIN_PASSWORD: SuperSecretPassword_123
cluster.name: os-cluster
network.host: 0.0.0.0
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
volumes:
- "./opensearch-cluster.yml:/usr/share/opensearch/config/opensearch.yml"
- "os-data2:/usr/share/opensearch/data"


os03:
build: ./
environment:
Expand All @@ -68,25 +54,13 @@ services:
plugins.security.disabled: "true"
DISABLE_INSTALL_DEMO_CONFIG: "true"
JAVA_HOME: /usr/share/opensearch/jdk
network.host: "0.0.0.0"
OPENSEARCH_INITIAL_ADMIN_PASSWORD: SuperSecretPassword_123
cluster.name: os-cluster
network.host: 0.0.0.0
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
volumes:
- "./opensearch-cluster.yml:/usr/share/opensearch/config/opensearch.yml"
- "os-data3:/usr/share/opensearch/data"

volumes:
os-data1:
os-data2:
os-data3:
8 changes: 0 additions & 8 deletions opensearch-cluster.yml

This file was deleted.

0 comments on commit 36a382b

Please sign in to comment.