调试 elastic

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-23 11:56:13 +08:00
parent 610c5aa7b1
commit 1b93ecf79c
2 changed files with 3 additions and 0 deletions

View File

@ -36,3 +36,4 @@ services:
environment: environment:
- LICENSE=basic - LICENSE=basic
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true - ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
- TAKE_FILE_OWNERSHIP=true

View File

@ -8,6 +8,8 @@ if [ -f .env ]; then
sed -i '/^ENV_FILE=/d' .env sed -i '/^ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
chown -R 1000:0 $BARK_ROOT_PATH
echo "Check Finish." echo "Check Finish."
else else