Update docker-compose.yml

change made on the docker-compose.yml to use the official release of opensearch:1.0.0 .

Parameter  opendistro_security.disabled=true changed to plugins.security.disabled=true as this is the proper way to call it.

Some testing need to be done on other stack to make sur this change is safe.
This commit is contained in:
azgaviperr
2021-08-10 11:24:59 +02:00
parent e8b7b2b444
commit ab6556fcb0
+8 -8
View File
@@ -25,18 +25,18 @@ services:
- "${BACKEND_PORT}:5001" - "${BACKEND_PORT}:5001"
networks: networks:
- shuffle - shuffle
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ${SHUFFLE_APP_HOTLOAD_LOCATION}:/shuffle-apps - ${SHUFFLE_APP_HOTLOAD_LOCATION}:/shuffle-apps
- ${SHUFFLE_FILE_LOCATION}:/shuffle-files - ${SHUFFLE_FILE_LOCATION}:/shuffle-files
#- ${SHUFFLE_OPENSEARCH_CERTIFICATE_FILE}:/shuffle-files/es_certificate #- ${SHUFFLE_OPENSEARCH_CERTIFICATE_FILE}:/shuffle-files/es_certificate
env_file: .env env_file: .env
environment: environment:
- SHUFFLE_APP_HOTLOAD_FOLDER=/shuffle-apps - SHUFFLE_APP_HOTLOAD_FOLDER=/shuffle-apps
- SHUFFLE_FILE_LOCATION=/shuffle-files - SHUFFLE_FILE_LOCATION=/shuffle-files
restart: unless-stopped restart: unless-stopped
#depends_on: #depends_on:
#- opensearch #- opensearch
#- database #- database
orborus: orborus:
#build: ./functions/onprem/orborus #build: ./functions/onprem/orborus
@@ -66,13 +66,13 @@ services:
- CLEANUP=${SHUFFLE_CONTAINER_AUTO_CLEANUP} - CLEANUP=${SHUFFLE_CONTAINER_AUTO_CLEANUP}
restart: unless-stopped restart: unless-stopped
opensearch: opensearch:
image: opensearchproject/opensearch:1.0.0-beta1 image: opensearchproject/opensearch:1.0.0
hostname: shuffle-opensearch hostname: shuffle-opensearch
container_name: shuffle-opensearch container_name: shuffle-opensearch
environment: environment:
- bootstrap.memory_lock=true - bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms1024m -Xmx1024m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM - "OPENSEARCH_JAVA_OPTS=-Xms1024m -Xmx1024m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
- opendistro_security.disabled=true - plugins.security.disabled=true
- cluster.routing.allocation.disk.threshold_enabled=false - cluster.routing.allocation.disk.threshold_enabled=false
- cluster.name=shuffle-cluster - cluster.name=shuffle-cluster
- node.name=shuffle-opensearch - node.name=shuffle-opensearch