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:
|
formFields:
|
||||||
- default: "/home/kibana"
|
- default: "/home/kibana"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: BARK_ROOT_PATH
|
envKey: KIBANA_ROOT_PATH
|
||||||
labelZh: 数据持久化路径
|
labelZh: 数据持久化路径
|
||||||
labelEn: Data persistence path
|
labelEn: Data persistence path
|
||||||
required: true
|
required: true
|
||||||
|
@ -20,8 +20,7 @@ services:
|
|||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/kibana.yml:/usr/share/kibana/config/kibana.yml
|
- ./config/kibana.yml:/usr/share/kibana/config/kibana.yml
|
||||||
- ${BARK_ROOT_PATH}/config:/usr/share/kibana/config
|
- ${KIBANA_ROOT_PATH}/data:/usr/share/kibana/data
|
||||||
- ${BARK_ROOT_PATH}/data:/usr/share/kibana/data
|
|
||||||
environment:
|
environment:
|
||||||
- SERVER_NAME="kibana"
|
- SERVER_NAME="kibana"
|
||||||
- SERVER_HOST="0.0.0.0"
|
- SERVER_HOST="0.0.0.0"
|
||||||
|
@ -8,6 +8,11 @@ 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
|
||||||
|
|
||||||
|
mkdir -p $KIBANA_ROOT_PATH
|
||||||
|
mkdir -p "$KIBANA_ROOT_PATH/data"
|
||||||
|
|
||||||
|
chown -R 1000:1000 $KIBANA_ROOT_PATH
|
||||||
|
|
||||||
echo "Check Finish."
|
echo "Check Finish."
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user