mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 14:56:58 +08:00
调试 elastic
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
60e070c3d0
commit
9f66e9b60e
@ -2,7 +2,7 @@ additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/kibana"
|
||||
edit: true
|
||||
envKey: BARK_ROOT_PATH
|
||||
envKey: KIBANA_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
|
@ -20,8 +20,7 @@ services:
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ./config/kibana.yml:/usr/share/kibana/config/kibana.yml
|
||||
- ${BARK_ROOT_PATH}/config:/usr/share/kibana/config
|
||||
- ${BARK_ROOT_PATH}/data:/usr/share/kibana/data
|
||||
- ${KIBANA_ROOT_PATH}/data:/usr/share/kibana/data
|
||||
environment:
|
||||
- SERVER_NAME="kibana"
|
||||
- SERVER_HOST="0.0.0.0"
|
||||
|
@ -8,6 +8,11 @@ if [ -f .env ]; then
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
mkdir -p $KIBANA_ROOT_PATH
|
||||
mkdir -p "$KIBANA_ROOT_PATH/data"
|
||||
|
||||
chown -R 1000:1000 $KIBANA_ROOT_PATH
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user