From 77557c0c2a3a9d0e5f50a640e2778052df3db8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Tue, 23 Jul 2024 16:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=20elastic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/elastic-elasticsearch/8.14.3/docker-compose.yml | 2 +- apps/elastic-elasticsearch/8.14.3/scripts/init.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/elastic-elasticsearch/8.14.3/docker-compose.yml b/apps/elastic-elasticsearch/8.14.3/docker-compose.yml index e79c909f..50af3fd0 100644 --- a/apps/elastic-elasticsearch/8.14.3/docker-compose.yml +++ b/apps/elastic-elasticsearch/8.14.3/docker-compose.yml @@ -27,7 +27,7 @@ services: - /etc/1panel/envs/global.env - ${ENV_FILE:-/etc/1panel/envs/default.env} volumes: - - ${ELASTICSEARCH_ROOT_PATH}/certs:/usr/share/elasticsearch/config/certs + - ${ELASTICSEARCH_ROOT_PATH}/config:/usr/share/elasticsearch/config - ${ELASTICSEARCH_ROOT_PATH}/data:/usr/share/elasticsearch/data - ${ELASTICSEARCH_ROOT_PATH}/backup:/usr/share/elasticsearch/backup - ${ELASTICSEARCH_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins diff --git a/apps/elastic-elasticsearch/8.14.3/scripts/init.sh b/apps/elastic-elasticsearch/8.14.3/scripts/init.sh index 85f13c04..5ba9738e 100644 --- a/apps/elastic-elasticsearch/8.14.3/scripts/init.sh +++ b/apps/elastic-elasticsearch/8.14.3/scripts/init.sh @@ -9,7 +9,7 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env mkdir -p $ELASTICSEARCH_ROOT_PATH - mkdir -p "$ELASTICSEARCH_ROOT_PATH/certs" + mkdir -p "$ELASTICSEARCH_ROOT_PATH/config" mkdir -p "$ELASTICSEARCH_ROOT_PATH/data" mkdir -p "$ELASTICSEARCH_ROOT_PATH/backup" mkdir -p "$ELASTICSEARCH_ROOT_PATH/plugins"