10 Commits
Author SHA1 Message Date
fithwum 7b02303bf2 Update changelogs on 2026-07-28T18:21:49Z [skip ci] 2026-07-28 18:21:49 +00:00
fithwum c4639298ae update
vintage-story-build-latest / Docker prune (vm-docker-build2) (push) Successful in 3s
vintage-story-build-latest / poll-debian-base-and-detect-changes (push) Successful in 6s
vintage-story-build-latest / Build and Push latest (push) Successful in 26s
vintage-story-build-latest / generate-changelogs (push) Successful in 7s
vintage-story-build-latest / generate-build-info (push) Successful in 10s
2026-07-28 11:20:58 -07:00
fithwum 21788f57ec Merge build-info updates 2026-07-28 18:18:04 +00:00
fithwum ad396a5204 Update build-info on 2026-07-28T18:18:04Z [skip ci] 2026-07-28 18:18:04 +00:00
fithwum ba0b3d3eeb Merge changelog updates 2026-07-28 18:17:54 +00:00
fithwum 6daadba60a Update changelogs on 2026-07-28T18:17:54Z [skip ci] 2026-07-28 18:17:54 +00:00
fithwum fe60ed03ab update add new start file
vintage-story-build-latest / Docker prune (vm-docker-build2) (push) Successful in 3s
vintage-story-build-latest / poll-debian-base-and-detect-changes (push) Successful in 6s
vintage-story-build-latest / Build and Push latest (push) Successful in 24s
vintage-story-build-latest / generate-changelogs (push) Successful in 7s
vintage-story-build-latest / generate-build-info (push) Successful in 8s
2026-07-28 11:17:01 -07:00
fithwum f0039144d9 update & publish 2026-07-28 11:02:46 -07:00
fithwum 00cc703d0d Merge build-info updates 2026-07-28 17:56:56 +00:00
fithwum 40d7767451 Update build-info on 2026-07-28T17:56:55Z [skip ci] 2026-07-28 17:56:55 +00:00
5 changed files with 63 additions and 52 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
## 2026-07-28T17:56:43Z
## 2026-07-28T18:21:49Z
- update (fithwum)
- Merge build-info updates (fithwum)
- Update build-info on 2026-07-28T17:53:30Z [skip ci] (fithwum)
- Update build-info on 2026-07-28T18:18:04Z [skip ci] (fithwum)
+4 -4
View File
@@ -1,9 +1,9 @@
{
"version": "latest",
"commit": "bbc275c4bee7977a6f24157aadb59d3e468211dc",
"build_time": "2026-07-28T17:53:30Z",
"commit": "ba0b3d3eeb54736513ee1002b3eb17b157098f77",
"build_time": "2026-07-28T18:18:03Z",
"image_tag": "gitea.fithwum.tech/fithwum/vintage-story:latest",
"digest": "gitea.fithwum.tech/fithwum/vintage-story@sha256:f99d2576fefeebf09462fa1011c1da29940af969a5a2038d4c85e48ea750778e",
"digest": "gitea.fithwum.tech/fithwum/vintage-story@sha256:6fae534c2b90d7085270f8d7de78653bf0b2667f135cef803fecf7ca5815d6d0",
"image_size": "410MB",
"image_size_bytes": 430943726
"image_size_bytes": 430944219
}
+26 -12
View File
@@ -7,6 +7,7 @@ VS_SERVER_DIR=/vs_server/server
VS_DATA_DIR=/vs_server/server/data
START_FILE=$VS_SERVER_DIR/server-$VS_VERSION.sh
LOG_FILE=$VS_DATA_DIR/Logs/server-main.log
START_FILE=https://gitea.fithwum.tech/fithwum/vintage-story/raw/branch/main/latest/start.sh
VS_SERVER_FILE=https://cdn.vintagestory.at/gamefiles/$VS_CHANNEL/vs_server_linux-x64_$VS_VERSION.tar.gz
MS_REPO_URL=https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb
USERNAME=adduser vintagestory
@@ -94,23 +95,36 @@ chmod 776 -R $VS_SERVER_DIR
# Setup the server
if [ ! -f $MARKER_FILE ]; then
echo "First time run: Setting up server environment..."
yes y | $VS_SERVER_DIR/server-1.21.5.sh setup $USERNAME $VS_DATA_DIR && touch $MARKER_FILE
yes y | $VS_SERVER_DIR/server-1.21.5.sh setup $USERNAME $VS_DATA_DIR
touch $MARKER_FILE
echo "Setup successfully completed."
fi
# Download the start file for the screen session
if [ -f $VS_SERVER_DIR/start.sh ]; then
echo "INFO ! start.sh found ... moving on."
else
echo "WARNING ! start.sh missing ... downloading default file."
wget --no-cache --show-progress --progress=bar:force:noscroll $START_FILE -O $VS_SERVER_DIR/start.sh
chmod +x $VS_SERVER_DIR/start.sh
fi
# Run vintage-story server.
echo " "
echo "INFO ! Starting vintage-story Server $VS_VERSION"
.$VS_SERVER_DIR/server-$VS_VERSION.sh start
cd $VS_SERVER_DIR
exec ./start.sh
echo "Waiting for the server log file to be created..."
# Loop indefinitely until the log file actually exists on disk
until [ -f "$LOG_FILE" ]; do
sleep 1
done
# echo " "
# echo "INFO ! Starting vintage-story Server $VS_VERSION"
# .$VS_SERVER_DIR/server-$VS_VERSION.sh start
echo "Log file found! Streaming server console now..."
# Hand off PID 1 to tail, keeping the container active permanently
exec tail -f "$LOG_FILE"
# echo "Waiting for the server log file to be created..."
# # Loop indefinitely until the log file actually exists on disk
# until [ -f "$LOG_FILE" ]; do
# sleep 1
# done
# echo "Log file found! Streaming server console now..."
# # Hand off PID 1 to tail, keeping the container active permanently
# exec tail -f "$LOG_FILE"
exit
+31
View File
@@ -0,0 +1,31 @@
#!/bin/bash
# Copyright (c) 2026 fithwum
# All rights reserved
LOG_FILE=/vs_server/server/data/Logs/server-main.log
SESSION=server
cd /vs_server/server
echo "INFO ! A screen session for the Vintage-Story server is already running."
cleanup() {
echo "[INFO] Stopping Vintage-Story ..."
screen -S "$SESSION" -X $SESSION "stop$(printf '\r')"
# Wait up to 60 seconds
for i in {1..60}; do
if ! screen -list | grep -q "$SESSION"; then
break
fi
sleep 1
done
# Kill it if it's still alive
screen -S "$SESSION" -X quit 2>/dev/null || true
exit 0
}
trap cleanup SIGINT SIGTERM
# Start the Minecraft server in a detached screen session
echo "INFO ! Starting Vintage-Story Server in a screen session."
touch "$LOG_FILE"
screen -L -Logfile "$LOG_FILE" -dmS "$SESSION" bash -c dotnet VintagestoryServer.dll --data-path /data
exec tail -F "$LOG_FILE"
-34
View File
@@ -1,34 +0,0 @@
<?xml version="1.0"?>
<Container version="2">
<Name>Vintage-Story</Name>
<Repository>gitea.fithwum.tech/fithwum/vintage-story:latest</Repository>
<Registry>https://hub.docker.com/r/fithwum/vintage-story/</Registry>
<Network>host</Network>
<MyIP/>
<Shell>sh</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/125134-support-fithwum-vintage-story-server/</Support>
<Project>https://www.vintagestory.at</Project>
<ReadMe/>
<Overview>This docker will run a Vintage-Story server.</Overview>
<Category>GameServers:</Category>
<WebUI/>
<TemplateURL>https://github.com/fithwum/files-for-dockers/templates/vintage-story_server_unraid.xml</TemplateURL>
<Icon>https://gitea.fithwum.tech/fithwum/files-for-dockers/raw/branch/master/icons/vintage-story.png</Icon>
<ExtraParams/>
<PostArgs/>
<CPUset/>
<DateInstalled>1784389857</DateInstalled>
<DonateText>Buy me a coffee if you like.</DonateText>
<DonateLink>https://checkout.square.site/pay/340d93c602a042b8a223a2f7c184a6a2</DonateLink>
<Requires/>
<Config Name="Vintage Story Release Channel" Target="VS_CHANNEL" Default="stable|unstable" Mode="" Description="Select which release channel you want to use." Type="Variable" Display="always" Required="true" Mask="false"></Config>
<Config Name="vintage-story Version" Target="VS_VERSION" Default="" Mode="" Description="Pick your vintage-story version." Type="Variable" Display="always" Required="true" Mask="false">1.21.5</Config>
<!-- <Config Name="Username" Target="USERNAME" Default="vintagestory" Mode="" Description="Set username." Type="Variable" Display="always" Required="true" Mask="false">fithwum</Config> -->
<Config Name="Dotnet Version" Target="DOTNET_VERSION" Default="8.0|9.0|10.0" Mode="" Description="Select Dotnet version." Type="Variable" Display="always" Required="true" Mask="false"></Config>
<!-- <Config Name="Save Data" Target="/VSserver/data/" Default="" Mode="rw" Description="Save data path" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Games/Saves/vintagestory/</Config> -->
<Config Name="AppData Config Path" Target="/VSserver/server" Default="/mnt/user/appdata/vintage-story-server" Mode="rw" Description="Appdata path" Type="Path" Display="advanced-hide" Required="true" Mask="false">/mnt/user/Games/Servers/vintage-story-server</Config>
<Config Name="Key 2" Target="PUID" Default="99" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="false" Mask="false">99</Config>
<Config Name="Key 3" Target="PGID" Default="100" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="false" Mask="false">100</Config>
<TailscaleStateDir/>
</Container>