Added real instructions to README file

This commit is contained in:
Doc
2024-08-07 13:19:00 +02:00
parent ce10a3ba1a
commit 3cd2a5ffd2

View File

@@ -1,3 +1,45 @@
# VintageStory Docker Container
this is a simple Docker Container for running a VintageStory server on amd64
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.
# 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} .
```