9ec3375f75d1ebe550b51c3564162ac729a1f584
SteamCMD in Docker optimized for Unraid
This Docker will download and install SteamCMD. It will also install HalfLife-Deathmatch and run it.
Update Notice: Simply restart the container if a newer version of the game is available.
Env params
Name | Value | Example |
---|---|---|
STEAMCMD_DIR | Folder for SteamCMD | /serverdata/steamcmd |
SERVER_DIR | Folder for gamefile | /serverdata/serverfiles |
GAME_ID | The GAME_ID that the container downloads at startup. If you want to install a static or beta version of the game change the value to: '90 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install). | 90 |
GAME_NAME | SRCDS gamename | hl |
GAME_PARAMS | Values to start the server | -secure +maxplayers 32 +map gasworks.bsp |
UID | User Identifier | 99 |
GID | Group Identifier | 100 |
GAME_PORT | Port the server will be running on | 27015 |
VALIDATE | Validates the game data | blank |
USERNAME | Leave blank for anonymous login | blank |
PASSWRD | Leave blank for anonymous login | blank |
Run example
docker run --name HalfLife-Deathmatch -d \
-p 27015:27015 -p 27015:27015/udp \
--env 'GAME_ID=90' \
--env 'GAME_NAME=hl' \
--env 'GAME_PORT=27015' \
--env 'GAME_PARAMS=-secure +maxplayers 32 +map gasworks.bsp' \
--env 'UID=99' \
--env 'GID=100' \
--volume /path/to/steamcmd:/serverdata/steamcmd \
--volume /path/to/hldm:/serverdata/serverfiles \
ich777/steamcmd:hldm
This Docker was mainly edited for better use with Unraid, if you don't use Unraid you should definitely try it!
This Docker is forked from mattieserver, thank you for this wonderfull Docker.
Support Thread: https://forums.unraid.net/topic/79530-support-ich777-gameserver-dockers/
Description
Languages
Shell
92%
Dockerfile
8%