add docker specifics

This commit is contained in:
2026-03-18 19:17:10 +01:00
parent 98fea4e855
commit 863918a611
127 changed files with 564 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -e
Xvfb :99 -screen 0 1024x768x16 &
XVFB_PID=$!
cleanup() {
echo "Stopping ACC server..."
kill $XVFB_PID 2>/dev/null || true
}
trap cleanup SIGTERM SIGINT
echo "Starting ACC server on port ${SERVER_PORT}..."
exec wine /acc/game/server/accServer.exe \
-serverCfgPath /acc/cfg \
-port "${SERVER_PORT}"