Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV HOMEPATH=${HOMEPATH}
ENV VSPATH=${VSPATH}
ENV DATAPATH=${DATAPATH}

ARG VS_VERSION=1.21.5
ARG VS_VERSION=1.21.6
ARG DOTNET_VERSION=8.0
ENV VS_VERSION=${VS_VERSION}
ENV DOTNET_VERSION=${DOTNET_VERSION}
Expand Down Expand Up @@ -122,4 +122,4 @@ COPY server-config.yaml ${HOMEPATH}/server-config.yaml
RUN chmod 755 ${HOMEPATH}/entrypoint.sh && \
chown ${USERNAME}: ${HOMEPATH}/*

ENTRYPOINT ["./entrypoint.sh"]
ENTRYPOINT ["./entrypoint.sh"]
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker run -d \
-p 42420:42420/udp \
-v /path/to/your/vs/data:/vintagestory/data \
--restart unless-stopped \
ghcr.io/darkmatterproductions/vintagestory:0.0.18
ghcr.io/darkmatterproductions/vintagestory:latest
```
Note: Replace `/path/to/your/vs/data` with the path to the directory one your server, where you want to persist your
Vintage Story server data. This is critical to ensure that your world data, configurations, and mods are not lost when
Expand Down Expand Up @@ -95,7 +95,7 @@ docker run -d \
-e ENABLE_CHAT_LOGGING=true \
-e VS_CFG_SERVER_NAME="My Vintage Story Server" \
--restart unless-stopped \
ghcr.io/darkmatterproductions/vintagestory:0.0.18
ghcr.io/darkmatterproductions/vintagestory:latest

```

Expand All @@ -106,13 +106,13 @@ command: `docker logs vintagestory-server`.
### Building the Docker Image
To build the Docker image locally, use the following command:
```bash
docker build -t vintagestory:1.21.5 --build-arg VS_VERSION=1.21.5 --build-arg DOTNET_VERSION=8.0 .
docker build -t vintagestory:1.21.6 --build-arg VS_VERSION=1.21.6 --build-arg DOTNET_VERSION=8.0 .
```
This command builds the Docker image and tags it as `vintagestory:1.21.5`. You can replace `1.21.5` with the desired
This command builds the Docker image and tags it as `vintagestory:1.21.6`. You can replace `1.21.6` with the desired
version of Vintage Story by changing the `VS_VERSION` build argument. If building on a linux server, you can use an
environment variable to set the version:
```bash
export VS_VERSION=1.21.5
export VS_VERSION=1.21.6
export DOTNET_VERSION=8.0
docker build -t vintagestory:$VS_VERSION --build-arg VS_VERSION=$VS_VERSION --build-arg DOTNET_VERSION=$DOTNET_VERSION .
```
Expand Down Expand Up @@ -152,9 +152,8 @@ services:
build:
context: .
args:
VS_VERSION: 1.21.5
VS_VERSION: 1.21.6
DOTNET_VERSION: 8.0
image: vintagestory:1.21.5
container_name: vintagestory-server
ports:
- "42420:42420/tcp"
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ services:
volumes:
- ./vintage_story/data:/var/vintagestory/data
environment:
- VS_VERSION=1.21.5
- SERVER_NAME="My Vintage Story Server"
- SERVER_DESCRIPTION="A cozy place to try and survive Vintage Story"
- MAX_CLIENTS=16
- WELCOME_MESSAGE="Welcome {0}, may you survive well and prosper"
- SERVER_PASSWORD=abcdef1234567
restart: unless-stopped
restart: unless-stopped
2 changes: 1 addition & 1 deletion vintage-story-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21.5
1.21.6