mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-18 04:50:41 +08:00
调试 elastic
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
efad6b6c81
commit
feca8c24f7
@ -4,6 +4,17 @@ 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
|
||||||
|
path:
|
||||||
|
data: /usr/share/elasticsearch/data
|
||||||
|
logs: /usr/share/elasticsearch/logs
|
||||||
|
gateway.recover_after_nodes: 1
|
||||||
|
cluster.name: ${CLUSTER_NAME}
|
||||||
|
node.name: ${ES_SETTING_NODE_NAME}
|
||||||
|
node.master: true
|
||||||
|
node.ingest: true
|
||||||
|
node.data: true
|
||||||
|
|
||||||
|
|
||||||
#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
|
#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
|
||||||
#
|
#
|
||||||
# The following settings, TLS certificates, and keys have been automatically
|
# The following settings, TLS certificates, and keys have been automatically
|
||||||
|
@ -8,13 +8,13 @@ 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 $ELASTICSEARCH_ROOT_PATH
|
mkdir -p "$ELASTICSEARCH_ROOT_PATH"
|
||||||
mkdir -p $ELASTICSEARCH_DATA_PATH/certs
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/certs"
|
||||||
mkdir -p $ELASTICSEARCH_DATA_PATH/data
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/data"
|
||||||
mkdir -p $ELASTICSEARCH_DATA_PATH/logs
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/logs"
|
||||||
mkdir -p $ELASTICSEARCH_DATA_PATH/plugins
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/plugins"
|
||||||
|
|
||||||
chown -R 1000:0 $ELASTICSEARCH_ROOT_PATH
|
chown -R 1000:0 "$ELASTICSEARCH_ROOT_PATH"
|
||||||
|
|
||||||
echo "Check Finish."
|
echo "Check Finish."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user