Added optional parameters on SpongeVanilla server

This commit is contained in:
Aitor Ramos Sasselli 2017-11-06 09:52:26 +01:00 committed by GitHub
parent f347f30353
commit 7797bf23fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,9 +401,17 @@ like `MOTD`.
## Running a SpongeVanilla server
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 \
-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