From 5aed5c70d18f611e5e2be01d411bb61b0b9db40b Mon Sep 17 00:00:00 2001 From: BillyOutlast <172061051+BillyOutlast@users.noreply.github.com> Date: Wed, 18 Feb 2026 23:29:50 -0500 Subject: [PATCH] Update container configuration for Vintage Story server --- vintagestory.container | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 vintagestory.container diff --git a/vintagestory.container b/vintagestory.container new file mode 100644 index 0000000..89429aa --- /dev/null +++ b/vintagestory.container @@ -0,0 +1,34 @@ +[Unit] +Description=Vintage Story Server +After=network-online.target +Wants=network-online.target + +[Container] +# Image and Name +Image=docker.io/zsuatem/vintagestory:unstable +ContainerName=vintagestory +AutoUpdate=registry + +# User Mapping (UID 1000) +User=1000 +Group=1000 + +# Volume Mapping +# Maps your existing volume to the path the server config expects +Volume=vintagestory-data:/home/vintagestory/data + +# Ports +PublishPort=42420:42420/tcp +PublishPort=42420:42420/udp + +# Entrypoint Override (Bypassing the broken script) +Entrypoint=/bin/sh +# The command passed to /bin/sh +Exec=-c "./VintagestoryServer --dataPath /home/vintagestory/data" + +[Service] +# Restart automatically if it crashes +Restart=always + +[Install] +WantedBy=multi-user.target