Dockerfile for Half Life Dedicated Server
The Image will contain:
- Half Life Dedicated Server 3.1.1.1e
- Workaround for remote server/client crash
- WON2 Support
- Counter Strike 1.5 Mod
- Plug-in: AMX Mod 2010.1
- Plug-in: Podbot mm Full Pack V3B22
docker build -t hlds-won2 .
docker run --name hlds-won2 -d -p 27015:27015 -p 27015:27015/udp hlds-won2
docker container stop hlds-won2
docker container start hlds-won2
docker container rm hlds-won2
All files under /config will be copied into the root directory of the Server. Currently it contains basic configuration for the Counter Strike Server and the plug-ins Additionally the Server can be configured with he following environment variables:
- GAME Mod to load (-game), default cstrike
- PORT Listen port (+port), default 27015
- MAXPLAYERS Maximum players (+maxplayers), default 32
- START_MAP Start map (+map), irequired for other games than cstrike, default de_dust2
- RCON_PASSWORD Password for RCON (+rcon_password)
- SERVERAME Server name (+hostname), will be overwritten by server.cfg, default HLDS WON2 Server
docker run --name hlds-won2 -d -p 27015:27015 -p 27015:27015/udp -e GAME=tfc -e START_MAP=well -e SERVERAME="TFC Server" hlds-won2