2016-03-07 12:03:34 +01:00
2016-03-06 18:28:37 +01:00
2016-03-06 12:10:51 +01:00
2016-03-07 12:03:34 +01:00

#Steamcmd in docker This dockerfill will download/install steamcmd. It will also install the server you want(like csgo,tf2,ins ...)

##env params

Name Value Default
DATA_DIR main folder /serverdata
STEAMCMD_DIR folder for steamcmd /serverdata/steamcmd
SERVER_DIR folder for gamefile /serverdata/serverfiles
GAME_ID steamid for server 740
GAME_NAME srcds gamename csgo
GAME_PARAMS values to start the server +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2

Note

GAME_ID values can be found here

And for GAME_NAME there is no list, so a quick search should give you the result

##Run example

docker run --name csgo-server -d \
	--publish 27015:27015 \
	--env 'GAME_ID=740' \
	--env 'GAME_NAME=csgo' \
	--env 'GAME_PARAMS=+game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2' \
	--volume /share/CACHEDEV1_DATA/Public/VM/Docker/CSGO:/serverdata \
	mattie/docker-steamcmd-server:stable
Description
No description provided
Readme 12 MiB
Languages
Shell 92%
Dockerfile 8%