Game Server - OpenHV/ladder GitHub Wiki

This uses the official OpenHV Dockerfile.

Configuration

To setup a game server that records replays and stores them outside the container on the host use the following shell script:

RELEASE=20250628
PORT=1235

docker run -dit \
    -p $PORT:$PORT \
    -e TZ=UTC \
    -v $HOME/gameservers/motd.txt:/root/.config/openra/motd.txt \
    -v $HOME/.config/openra/Replays/hv/$RELEASE/:/root/.config/openra/Replays/hv/$RELEASE/ \
    --restart always \
    --name ladder_gameserver \
    docker.io/openhv/server:$RELEASE \
    "Server.Name=Competitive 1v1 Ladder" \
    "Server.RequireAuthentication=True" \
    "Server.EnableSingleplayer=False" \
    "Server.RecordReplays=True" \
    "Server.ListenPort=$PORT"

with the following Message of the Day file:

Welcome to the competitive 1v1 ladder server!

This server is linked to ladder.openhv.net. The next game played here will be
recorded and made available publicly, and the ranking of the players updated
accordingly.