47 lines
990 B
Markdown
47 lines
990 B
Markdown
# VintageStory Docker Container
|
|
|
|
this is a simple container for running a VintageStory server on amd64/linux system.
|
|
|
|
# Usage
|
|
|
|
```
|
|
# clone the repo
|
|
git clone https://git.protron.dev/Doc/vintagecontainer.git
|
|
|
|
# cd into the directory
|
|
cd vintavintagecontainer
|
|
|
|
# start the container
|
|
sudo docker compose up -d
|
|
```
|
|
|
|
You can adjust and add stuff by editing the docker-compose.yml file.
|
|
|
|
The data directory inside the vintagecontainer folder is were all your server/game data is located.
|
|
|
|
# Build yourself or different Version
|
|
If you want to build the image yourself or you need a different server version, you can do this by:
|
|
|
|
```
|
|
# cloning the repo
|
|
git clone https://git.protron.dev/Doc/vintagecontainer.git
|
|
|
|
# cd into the directory
|
|
cd vintagecontainer
|
|
|
|
# edting the Dockefile
|
|
vim Dockerfile
|
|
```
|
|
|
|
To change the server version, edit the VERSION ARG:
|
|
|
|
Example:
|
|
```
|
|
ARG VERSION="1.19.8" ==> VERSION="1.18.8"
|
|
```
|
|
|
|
And than build the image with
|
|
|
|
```
|
|
sudo docker build -t {USERNAME}/{IMAGENAME} .
|
|
``` |