调试 elastic

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-23 16:04:53 +08:00
parent 036b4eed6f
commit 77557c0c2a
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ services:
- /etc/1panel/envs/global.env - /etc/1panel/envs/global.env
- ${ENV_FILE:-/etc/1panel/envs/default.env} - ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes: 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}/data:/usr/share/elasticsearch/data
- ${ELASTICSEARCH_ROOT_PATH}/backup:/usr/share/elasticsearch/backup - ${ELASTICSEARCH_ROOT_PATH}/backup:/usr/share/elasticsearch/backup
- ${ELASTICSEARCH_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins - ${ELASTICSEARCH_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins

View File

@ -9,7 +9,7 @@ if [ -f .env ]; then
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
mkdir -p $ELASTICSEARCH_ROOT_PATH 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/data"
mkdir -p "$ELASTICSEARCH_ROOT_PATH/backup" mkdir -p "$ELASTICSEARCH_ROOT_PATH/backup"
mkdir -p "$ELASTICSEARCH_ROOT_PATH/plugins" mkdir -p "$ELASTICSEARCH_ROOT_PATH/plugins"