Skip to content

Simple Dockerfile that installs steamcmd and a selected game server

Notifications You must be signed in to change notification settings

jtraeholt/docker-steamcmd-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

SteamCMD in Docker optimized for Unraid

This Docker will download and install SteamCMD and the according game that is pulled via specifying the Tag.

Please see the different Tags/Branches which games are available.

Example Env params for CS:Source

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: '232330 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install). 232330
GAME_NAME SRCDS gamename cstrike
GAME_PARAMS Values to start the server -secure +maxplayers 32 +map de_dust2
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 for CS:Source

docker run --name CSSource -d \
	-p 27015:27015 -p 27015:27015/udp \
	--env 'GAME_ID=232330' \
	--env 'GAME_NAME=cstrike' \
	--env 'GAME_PORT=27015' \
	--env 'GAME_PARAMS=-secure +maxplayers 32 +map de_dust2' \
	--env 'UID=99' \
	--env 'GID=100' \
	--volume /path/to/steamcmd:/serverdata/steamcmd \
	--volume /path/to/cstrikesource:/serverdata/serverfiles \
	ich777/steamcmd:latest

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.

About

Simple Dockerfile that installs steamcmd and a selected game server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 77.0%
  • Dockerfile 23.0%