fix: bug in port arument fixed.
This commit is contained in:
4
mc
4
mc
@@ -87,11 +87,11 @@ function connect() {
|
|||||||
if [[ ! $(which docker) ]]; then echo "docker is required"; exit 1; fi
|
if [[ ! $(which docker) ]]; then echo "docker is required"; exit 1; fi
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-e MODE=my-mc \
|
-e MODE=my-mc \
|
||||||
-e PORT=$port \
|
-e PORT=25565 \
|
||||||
-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 25565:25565 anaxios/holesail:testing
|
-p $port:25565 'anaxios/holesail:2.1.0'
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user