2016-06-15 13:21:24 +02:00
2016-03-18 13:52:28 +01:00
2016-04-08 18:05:54 +02:00
2016-06-15 13:21:24 +02:00

#Steamcmd in docker This dockerfile 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
GAME_PORT port the server will be running on 27015

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 \
	-p 27015:27015 -p 27015:27015/udp -p 26900:26900/udp \
	--env 'GAME_ID=740' \
	--env 'GAME_NAME=csgo' \
	--env 'GAME_PORT=27015' \
	--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:latest

Note

port 26900 is the port for vac, in case of multiple servers make sure these are not the same

Description
No description provided
Readme 12 MiB
Languages
Shell 92%
Dockerfile 8%