From 036b4eed6f5dc7aafdf74e8885c4afc6b4ea8664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Tue, 23 Jul 2024 16:01:57 +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 | 1 + apps/elastic-elasticsearch/8.14.3/scripts/init.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/elastic-elasticsearch/8.14.3/docker-compose.yml b/apps/elastic-elasticsearch/8.14.3/docker-compose.yml index 88690a82..e79c909f 100644 --- a/apps/elastic-elasticsearch/8.14.3/docker-compose.yml +++ b/apps/elastic-elasticsearch/8.14.3/docker-compose.yml @@ -27,6 +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}/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 c5dbe273..85f13c04 100644 --- a/apps/elastic-elasticsearch/8.14.3/scripts/init.sh +++ b/apps/elastic-elasticsearch/8.14.3/scripts/init.sh @@ -9,6 +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/data" mkdir -p "$ELASTICSEARCH_ROOT_PATH/backup" mkdir -p "$ELASTICSEARCH_ROOT_PATH/plugins"