1
0
Fork 0

调试 elastic

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-23 12:12:37 +08:00
parent a51e73a6da
commit 04f11cca8f
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ if [ -f .env ]; then
sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
mkdir -p $ELASTICSEARCH_ROOT_PATH
mkdir -p $ELASTICSEARCH_DATA_PATH/certs
mkdir -p $ELASTICSEARCH_DATA_PATH/data
mkdir -p $ELASTICSEARCH_DATA_PATH/logs
mkdir -p $ELASTICSEARCH_DATA_PATH/plugins
chown -R 1000:0 $ELASTICSEARCH_ROOT_PATH
echo "Check Finish."