docker-vintagestory/build-custom-example
2020-07-24 08:53:22 +02:00
..
run initial commit 2020-07-24 08:53:22 +02:00
Dockerfile initial commit 2020-07-24 08:53:22 +02:00
README.md initial commit 2020-07-24 08:53:22 +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 (dont forget to change YOUR_IMAGE_NAME in docker-composer.yml)

cd run;

#start
docker-compose up -d
#stop
docker-compose down