|
@@ -3,6 +3,13 @@ This project is a simple dockerized environment in which to run a minecraft java
|
|
|
|
|
|
The Docker Hub page can be found at [this link](https://hub.docker.com/repository/docker/tarfeef101/mc_java_vanilla).
|
|
|
|
|
|
+## Usage
|
|
|
+You should be able to run with a simple `docker-compose up -d`. However, you should first:
|
|
|
+- add your config files as described below
|
|
|
+- check the compose file and set your memory thresholds appropriately
|
|
|
+- check the compose file to set the image to the version you want.
|
|
|
+- potentially build if that image/version is not available
|
|
|
+
|
|
|
## Anatomy
|
|
|
```
|
|
|
.
|
|
@@ -25,4 +32,4 @@ The Dockerfile tries to keep the image as simple and slim as possible. A slim ba
|
|
|
This is the bind-mounted directory which will house your world data. This should be empty unless you have a pre-existing world you want to import. If you want to add resource packs, this is the place to put them.
|
|
|
|
|
|
## Building
|
|
|
-To build a new version, search for the JAR you're looking for at [MCVersions](https://mcversions.net/). Then, in the `docker-compose.yaml` file, set the `build` argument `JAR` to the URL of the file you wish to use. Then, run `docker-compose build` or `docker-compose up --build -d` (to just build, or build and start the server).
|
|
|
+To build a new version edit the `docker-compose.yaml` file, and set the `VERSION` argument to the version you wish to build. Then, run `docker-compose build` or `docker-compose up --build -d` (to just build, or build and start the server).
|