chore(deps): update docker.elastic.co/elasticsearch/elasticsearch docker tag to v9.3.1 (localApps) (#4238)
This commit is contained in:
16
apps/elastic-elasticsearch/9.3.1/scripts/init.sh
Normal file
16
apps/elastic-elasticsearch/9.3.1/scripts/init.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
mkdir -p $ELASTICSEARCH_ROOT_PATH
|
||||
mkdir -p "$ELASTICSEARCH_ROOT_PATH/data"
|
||||
mkdir -p "$ELASTICSEARCH_ROOT_PATH/backup"
|
||||
mkdir -p "$ELASTICSEARCH_ROOT_PATH/plugins"
|
||||
|
||||
chown -R 1000:1000 $ELASTICSEARCH_ROOT_PATH
|
||||
|
||||
echo "Check Finish."
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
Reference in New Issue
Block a user