Spaces:
Runtime error
Runtime error
Commit
·
3dc2e7f
1
Parent(s):
d80cc0d
update dockerfile
Browse files
start.sh
CHANGED
@@ -6,11 +6,11 @@ set -e
|
|
6 |
echo "ubuntu" | sudo -S su user
|
7 |
|
8 |
# Disable security in elasticsearch configuration
|
9 |
-
echo "xpack security"
|
10 |
-
sudo sed -i "s/xpack.security.enabled: true/xpack.security.enabled: false/g" /etc/elasticsearch/elasticsearch.yml
|
11 |
-
echo "cluster security"
|
12 |
-
sudo sed -i "s/cluster.initial_master_nodes/#cluster.initial_master_nodes/g" /etc/elasticsearch/elasticsearch.yml
|
13 |
-
echo "cluster.routing.allocation.disk.threshold_enabled: false" | sudo tee -a /etc/elasticsearch/elasticsearch.yml
|
14 |
|
15 |
# Create elasticsearch directory and change ownership
|
16 |
echo "mkdir"
|
|
|
6 |
echo "ubuntu" | sudo -S su user
|
7 |
|
8 |
# Disable security in elasticsearch configuration
|
9 |
+
#echo "xpack security"
|
10 |
+
#sudo sed -i "s/xpack.security.enabled: true/xpack.security.enabled: false/g" /etc/elasticsearch/elasticsearch.yml
|
11 |
+
#echo "cluster security"
|
12 |
+
#sudo sed -i "s/cluster.initial_master_nodes/#cluster.initial_master_nodes/g" /etc/elasticsearch/elasticsearch.yml
|
13 |
+
#echo "cluster.routing.allocation.disk.threshold_enabled: false" | sudo tee -a /etc/elasticsearch/elasticsearch.yml
|
14 |
|
15 |
# Create elasticsearch directory and change ownership
|
16 |
echo "mkdir"
|