Sign inSign up

snook9/vintagestory_server

By snook9

Updated about 3 years ago

Images for running a Vintage Story Server in a container.

Image
0

1.2K

snook9/vintagestory_server repository overview

Vintage Story Server

Images for running a Vintage Story dedicated server.

Docker run

With docker:

docker run -v vintagestory_data:/var/vintagestory/data --restart unless-stopped -d -p 42420:42420 snook9/vintagestory_server:latest

With docker-compose:

version: "3.9"
services:
  vintagestory:
    image: snook9/vintagestory_server:latest
    ports:
      - "42420:42420"
    restart: unless-stopped
    volumes:
      - /media/data/vintagestory:/var/vintagestory/data

Data location

In the container, the data are located to /var/vintagestory/data.

Server console

ATTENTION, use CTRL+A then CTRL+D to leave the console (leave the screen).
CTRL+C will shutdown the server...
Replace $CONTAINER_NAME by your container name.

docker exec -u vintagestory -ti $CONTAINER_NAME screen -xS vintagestory_server

Start and stop

To stop the server properly (not mandatory because the 'docker stop' properly stops the server).

docker exec -u vintagestory -ti $CONTAINER_NAME /bin/bash ./server.sh stop
docker exec -u vintagestory -ti $CONTAINER_NAME /bin/bash ./server.sh start

Debug

Enter in the container at launch time:

docker run -ti -p 42420:42420 $CONTAINER_NAME /bin/bash

Sources

https://github.com/snook9/vintagestory-docker

Tag summary

Content type

Image

Digest

sha256:6bb8c0933

Size

250.1 MB

Last updated

about 3 years ago

docker pull snook9/vintagestory_server