You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
339 B
20 lines
339 B
#!/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
|
|
./env_check.sh;
|
|
cd .. ;
|
|
docker-compose up -d;
|
|
cd script ;
|
|
./docker_check_service.sh
|