mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Added optional parameters on SpongeVanilla server
This commit is contained in:
parent
f347f30353
commit
7797bf23fb
@ -401,10 +401,18 @@ like `MOTD`.
|
|||||||
## Running a SpongeVanilla server
|
## Running a SpongeVanilla server
|
||||||
|
|
||||||
Enable SpongeVanilla server mode by adding a `-e TYPE=SPONGEVANILLA` to your command-line.
|
Enable SpongeVanilla server mode by adding a `-e TYPE=SPONGEVANILLA` to your command-line.
|
||||||
|
By default the container will run the latest `STABLE` version.
|
||||||
|
If you want to run a specific version, you can add `-e SPONGEVERSION=1.11.2-6.1.0-BETA-19` to your command-line.
|
||||||
|
|
||||||
docker run -d -v /path/on/host:/data -e TYPE=SPONGEVANILLA \
|
docker run -d -v /path/on/host:/data -e TYPE=SPONGEVANILLA \
|
||||||
-p 25565:25565 -e EULA=TRUE --name mc itzg/minecraft-server
|
-p 25565:25565 -e EULA=TRUE --name mc itzg/minecraft-server
|
||||||
|
|
||||||
|
You can also choose to use the `EXPERIMENTAL` branch.
|
||||||
|
Just change it with `SPONGEBRANCH`, such as:
|
||||||
|
|
||||||
|
$ docker run -d -v /path/on/host:/data ... \
|
||||||
|
-e TYPE=SPONGEVANILLA -e SPONGEBRANCH=EXPERIMENTAL ...
|
||||||
|
|
||||||
## Using Docker Compose
|
## Using Docker Compose
|
||||||
|
|
||||||
Rather than type the server options below, the port mappings above, etc
|
Rather than type the server options below, the port mappings above, etc
|
||||||
|
Loading…
Reference in New Issue
Block a user