mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-05 20:10:29 +00:00
Merge branch 'master' of github.com:itzg/dockerfiles
This commit is contained in:
+4
-4
@@ -49,7 +49,7 @@ setup_clustering() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$MIN_MASTERS" ]; then
|
if [ -n "$MIN_MASTERS" ]; then
|
||||||
OPTS="$OPTS --discovery.zen.minimum_master_nodes=$MIN_MASTERS"
|
OPTS="$OPTS -E discovery.zen.minimum_master_nodes=$MIN_MASTERS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -72,15 +72,15 @@ setup_personality() {
|
|||||||
if [ -n "$TYPE" ]; then
|
if [ -n "$TYPE" ]; then
|
||||||
case $TYPE in
|
case $TYPE in
|
||||||
MASTER)
|
MASTER)
|
||||||
OPTS="$OPTS --node.master=true --node.data=false"
|
OPTS="$OPTS -E node.master=true -E node.data=false"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
GATEWAY)
|
GATEWAY)
|
||||||
OPTS="$OPTS --node.master=false --node.data=false"
|
OPTS="$OPTS -E node.master=false -E node.data=false"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
DATA|NON_MASTER)
|
DATA|NON_MASTER)
|
||||||
OPTS="$OPTS --node.master=false --node.data=true"
|
OPTS="$OPTS -E node.master=false -E node.data=true"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user