Skip to content

atakiya/container-vintagestory-server

Repository files navigation

Vintage Story Server container image

About

An alpine-based container image that runs the official Vintage Story server, running on the net7 runtime.

For information on how to configure the Vintage Story server, please see https://wiki.vintagestory.at/index.php?title=Setting_up_a_Multiplayer_Server#Basic_Configuration

Usage

Available environment variables:

ENVVAR USE DEFAULT
USER unix service name vintagestory
UID unix userid 1001
GID unix groupid 1001
SERVER_VERSION game version 1.18.8

⚠️ Do not modify the USER, UID or GID unless you know what you're doing!

Available mount paths:

PATH USE
/app Installed server + rollback versions
Kept here to not cause redownloads of the same version with each reboot
/data Data directory for the server, used for cache, mods, preferences

Docker Standalone

docker run -it \
	--name "vintagestory" \
	-p 42420:42420 \
	-e SERVER_VERSION="1.18.8"
	-v vintagestory_app:/app \
	-v vintagestory_data:/data \
	ghcr.io/atakiya/container-vintage-story-server:latest

Docker Compose

services:
  gameserver:
    image: ghcr.io/atakiya/container-vintage-story-server:latest
    ports:
      # Gameserver port
      - "42420:42420/tcp"
    volumes:
      - app:/app
      - data:/data
    environment:
      SERVER_VERSION: "1.18.8"

volumes:
  app:
  data: