docker-vintagestory/build-custom-example
2020-08-18 07:43:46 +02:00
..
docker-compose.yml updated composer using custom build Dockerfile 2020-08-18 07:43:46 +02:00
Dockerfile updated composer using custom build Dockerfile 2020-08-18 07:43:46 +02:00
README.md updated composer using custom build Dockerfile 2020-08-18 07:43:46 +02:00
serverconfig.json initial commit 2020-07-24 08:53:22 +02:00

Create custom docker image

You can use this Dockerfile to create your own serverconfig using devidian/vintagestory as base. Just edit serverconfig.json and run docker build -t YOUR_IMAGE_NAME. You may also add / override additional files like mods.

Run custom docker image

to run the image you can either use docker run -pd 42420:42420 --name VintageStoryServer YOUR_IMAGE_NAME or use the composer file as follows.

cd run;

#start
docker-compose up -d
#rebuild / update
docker-compose up -d --build
#stop
docker-compose down