mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-24 17:55:10 +08:00
调试 elastic
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
9ca9ff8701
commit
91ed4a32b6
@ -4,6 +4,3 @@ http.host: 0.0.0.0
|
||||
http.cors.enabled: true
|
||||
http.cors.allow-origin: "*"
|
||||
network.host: 0.0.0.0
|
||||
|
||||
xpack.security.enabled: true
|
||||
xpack.security.enrollment.enabled: true
|
||||
|
@ -2,7 +2,7 @@ additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/elasticsearch"
|
||||
edit: true
|
||||
envKey: BARK_ROOT_PATH
|
||||
envKey: ELASTICSEARCH_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
|
@ -29,11 +29,12 @@ services:
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
||||
- ${BARK_ROOT_PATH}/certs:/usr/share/elasticsearch/config/certs
|
||||
- ${BARK_ROOT_PATH}/data:/usr/share/elasticsearch/data
|
||||
- ${BARK_ROOT_PATH}/logs:/usr/share/elasticsearch/logs
|
||||
- ${BARK_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins
|
||||
- ${ELASTICSEARCH_ROOT_PATH}/certs:/usr/share/elasticsearch/config/certs
|
||||
- ${ELASTICSEARCH_ROOT_PATH}/data:/usr/share/elasticsearch/data
|
||||
- ${ELASTICSEARCH_ROOT_PATH}/logs:/usr/share/elasticsearch/logs
|
||||
- ${ELASTICSEARCH_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins
|
||||
environment:
|
||||
- LICENSE=basic
|
||||
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
|
||||
- TAKE_FILE_OWNERSHIP=true
|
||||
- CLUSTER_INITIAL__MASTER__NODES=${ES_SETTING_NODE_NAME}
|
||||
|
@ -8,7 +8,7 @@ if [ -f .env ]; then
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
chown -R 1000:0 $BARK_ROOT_PATH
|
||||
chown -R 1000:0 $ELASTICSEARCH_ROOT_PATH
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user