install script

pull/329/head
wangchuxiao 2 years ago
parent 83f128ddcc
commit 0b9d9fa8d7

@ -1,5 +1,14 @@
#!/usr/bin/env bash
internet_ip=`curl ifconfig.me -s`
echo $internet_ip
source .env
echo $MINIO_ENDPOINT
if [ $MINIO_ENDPOINT == "http://127.0.0.1:10005" ]; then
sed -i "s/127.0.0.1/${internet_ip}/" .env
fi
cd script ;
chmod +x *.sh ;
./init_pwd.sh

Loading…
Cancel
Save