Expose and document IPv6 port 19133 by default (#626)
This commit is contained in:
1 parent
86c278f32f
commit
09b8859600
6 files changed
+31
-7
No files matched your search
@@ -20,7 +20,7 @@ $STORAGE_KEY=$(az storage account keys list --resource-group mineResGroup --acco
|
||||
echo $STORAGE_KEY
|
||||
|
||||
#to actually create the minecraft server int the dns name "minesvrbedrock"
|
||||
#the server will be running into server "minesvrbedrock.southcentralus.azurecontainer.io" port "19132", this take some time be patient.
|
||||
#the server will be running into server "minesvrbedrock.southcentralus.azurecontainer.io" ports "19132" (IPv4) and "19133" (IPv6), this take some time be patient.
|
||||
az container create --resource-group mineResGroup --name minecotainer --image itzg/minecraft-bedrock-server --dns-name-label minesvrbedrock --ports 19132 19133 --protocol udp --restart-policy OnFailure --environment-variables EULA=TRUE --azure-file-volume-account-name acismineacc --azure-file-volume-account-key $STORAGE_KEY --azure-file-volume-share-name acismineshare --azure-file-volume-mount-path /data
|
||||
|
||||
#connect to fileshare drive "M" to edit server.properties and everything else
|
||||
|
||||
@@ -5,6 +5,7 @@ services:
|
||||
EULA: "TRUE"
|
||||
ports:
|
||||
- "19132:19132/udp"
|
||||
- "19133:19133/udp"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
stdin_open: true
|
||||
|
||||
@@ -82,6 +82,8 @@ spec:
|
||||
ports:
|
||||
- containerPort: 19132
|
||||
protocol: UDP
|
||||
- containerPort: 19133
|
||||
protocol: UDP
|
||||
readinessProbe: &probe
|
||||
exec:
|
||||
command:
|
||||
@@ -115,3 +117,5 @@ spec:
|
||||
ports:
|
||||
- port: 19132
|
||||
protocol: UDP
|
||||
- port: 19133
|
||||
protocol: UDP
|
||||
@@ -17,6 +17,7 @@ data:
|
||||
#LEVEL_SEED: "33480944"
|
||||
#SERVER_NAME: "my_minecraft_server"
|
||||
#SERVER_PORT: "19132"
|
||||
#SERVER_PORT_V6: "19133"
|
||||
#LEVEL_TYPE: "DEFAULT" # Options: FLAT, LEGACY, DEFAULT
|
||||
#ALLOW_CHEATS: "false" # Options: true, false
|
||||
#MAX_PLAYERS: "10"
|
||||
@@ -63,6 +64,8 @@ spec:
|
||||
ports:
|
||||
- containerPort: 19132
|
||||
protocol: UDP
|
||||
- containerPort: 19133
|
||||
protocol: UDP
|
||||
readinessProbe: &probe
|
||||
exec:
|
||||
command:
|
||||
@@ -92,10 +95,15 @@ metadata:
|
||||
spec:
|
||||
selector:
|
||||
app: bds
|
||||
ipFamilyPolicy: PreferDualStack
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
||||
ports:
|
||||
- port: 19132
|
||||
protocol: UDP
|
||||
ipFamily: IPv4
|
||||
- port: 19133
|
||||
protocol: UDP
|
||||
# Use LoadBalancer if running on a provider that supports that
|
||||
# type: LoadBalancer
|
||||
# or use NodePort on a non-managed system;
|
||||
|
||||
Reference in new issue
Block a user