Add server port config environment variable (#17)
This commit is contained in:
1 parent
635d44dda7
commit
915efd06d3
2 files changed
+4
No files matched your search
@@ -40,6 +40,7 @@ For Minecraft Java Edition you'll need to use this image instead:
|
|||||||
The following environment variables will set the equivalent property in `server.properties`, where each [is described here](https://minecraft.gamepedia.com/Server.properties#Bedrock_Edition_3).
|
The following environment variables will set the equivalent property in `server.properties`, where each [is described here](https://minecraft.gamepedia.com/Server.properties#Bedrock_Edition_3).
|
||||||
|
|
||||||
- `SERVER_NAME`
|
- `SERVER_NAME`
|
||||||
|
- `SERVER_PORT`
|
||||||
- `GAMEMODE`
|
- `GAMEMODE`
|
||||||
- `DIFFICULTY`
|
- `DIFFICULTY`
|
||||||
- `LEVEL_TYPE`
|
- `LEVEL_TYPE`
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
"server-name": {
|
"server-name": {
|
||||||
"env": "SERVER_NAME"
|
"env": "SERVER_NAME"
|
||||||
},
|
},
|
||||||
|
"server-port": {
|
||||||
|
"env": "SERVER_PORT"
|
||||||
|
},
|
||||||
"gamemode": {
|
"gamemode": {
|
||||||
"env": "GAMEMODE",
|
"env": "GAMEMODE",
|
||||||
"allowed": ["survival","creative","adventure"],
|
"allowed": ["survival","creative","adventure"],
|
||||||
|
|||||||
Reference in new issue
Block a user