mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 16:26:19 +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.enabled: true
|
||||||
http.cors.allow-origin: "*"
|
http.cors.allow-origin: "*"
|
||||||
network.host: 0.0.0.0
|
network.host: 0.0.0.0
|
||||||
|
|
||||||
xpack.security.enabled: true
|
|
||||||
xpack.security.enrollment.enabled: true
|
|
||||||
|
@ -2,7 +2,7 @@ additionalProperties:
|
|||||||
formFields:
|
formFields:
|
||||||
- default: "/home/elasticsearch"
|
- default: "/home/elasticsearch"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: BARK_ROOT_PATH
|
envKey: ELASTICSEARCH_ROOT_PATH
|
||||||
labelZh: 数据持久化路径
|
labelZh: 数据持久化路径
|
||||||
labelEn: Data persistence path
|
labelEn: Data persistence path
|
||||||
required: true
|
required: true
|
||||||
|
@ -29,11 +29,12 @@ services:
|
|||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
- ./config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
||||||
- ${BARK_ROOT_PATH}/certs:/usr/share/elasticsearch/config/certs
|
- ${ELASTICSEARCH_ROOT_PATH}/certs:/usr/share/elasticsearch/config/certs
|
||||||
- ${BARK_ROOT_PATH}/data:/usr/share/elasticsearch/data
|
- ${ELASTICSEARCH_ROOT_PATH}/data:/usr/share/elasticsearch/data
|
||||||
- ${BARK_ROOT_PATH}/logs:/usr/share/elasticsearch/logs
|
- ${ELASTICSEARCH_ROOT_PATH}/logs:/usr/share/elasticsearch/logs
|
||||||
- ${BARK_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins
|
- ${ELASTICSEARCH_ROOT_PATH}/plugins:/usr/share/elasticsearch/plugins
|
||||||
environment:
|
environment:
|
||||||
- LICENSE=basic
|
- LICENSE=basic
|
||||||
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
|
- ES_SETTING_BOOTSTRAP_MEMORY__LOCK=true
|
||||||
- TAKE_FILE_OWNERSHIP=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
|
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
|
chown -R 1000:0 $ELASTICSEARCH_ROOT_PATH
|
||||||
|
|
||||||
echo "Check Finish."
|
echo "Check Finish."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user