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"