88292985fed2dffcfe8f740b4fe47db5a3eef34e
#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 \
-p 27015:27015 -p 27015:27015/udp -p 27020:27020/udp -p 27005:27005/udp \
--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
Languages
Shell
92%
Dockerfile
8%