OpenHV Docker container based on Microsoft .NET image makes it easier to deploy OpenHV dedicated servers on Linux with graphics and sound files stripped away.
docker run -it -p 1234:1234 ghcr.io/openhv/server:latest "Server.Name=My Server"
Run
docker build -t openhv:latest .
to compile and
docker run -it -p 1234:1234 openhv:latest .
to start an instance with TCP 1234 as the default port.
docker run -it -p 4711:4711 openhv:latest "Server.Name=Docker Test Server" "Server.ListenPort=4711"
to change server name and TCP network port.
Server.Name=sets the server name.Server.Map=sets the UID of the initial map.Server.ListenPortchanges the TCP port.Server.AdvertiseOnline=Falsedisables master server registration.Server.Password=sets the password for a private server.Server.RecordReplays=Truestores replays server side.Server.RequireAuthentication=Trueenforces every player to register at forum.openra.net.Server.ProfileIDBlacklist=permanently bans players from the server when authentication is required.Server.ProfileIDWhitelist=only allows these players when authentication is required for a private server.Server.EnableSingleplayer=Trueallows matches against bots with only one player.Server.EnableSyncReports=Truecreates reports on network desync errors.Server.EnableGeoIP=Falsedisables the feature where country names are fetched based on network addresses.Server.EnableLintChecks=Falsedisables checks for invalid game rules.Server.ShareAnonymizedIPs=Falseremoves anonymized network addresses from the lobby completely.Server.FloodLimitJoinCooldown=1000sets the cooldown for chat after joining in miliseconds.Engine.SupportDir=sets the folder where settings, logs, maps and replays are saved.