update: holesail image 2.2.0 & refactor
This commit is contained in:
4
mc
4
mc
@@ -6,6 +6,8 @@ RED="\033[0;91m"
|
|||||||
GREEN="\033[0;92m"
|
GREEN="\033[0;92m"
|
||||||
RESET='\033[0m'
|
RESET='\033[0m'
|
||||||
|
|
||||||
|
HOLESAIL_DOCKER_IMAGE='anaxios/holesail:2.2.0'
|
||||||
|
|
||||||
readonly base_url="https://api.my-mc.link/"
|
readonly base_url="https://api.my-mc.link/"
|
||||||
readonly headers=( -H "Accept: application/json" -H "Content-Type: application/json" -H "x-my-mc-auth: ${MY_MC_API_KEY}" )
|
readonly headers=( -H "Accept: application/json" -H "Content-Type: application/json" -H "x-my-mc-auth: ${MY_MC_API_KEY}" )
|
||||||
|
|
||||||
@@ -116,7 +118,7 @@ function connect() {
|
|||||||
-e HOST=0.0.0.0 \
|
-e HOST=0.0.0.0 \
|
||||||
-e PUBLIC=false \
|
-e PUBLIC=false \
|
||||||
-e MY_MC_API_KEY=$MY_MC_API_KEY \
|
-e MY_MC_API_KEY=$MY_MC_API_KEY \
|
||||||
-p $port:25565 'anaxios/holesail:2.1.0'
|
-p $port:25565 "$HOLESAIL_DOCKER_IMAGE"
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user