Files
docker-garrysmod/Dockerfile

29 lines
787 B
Docker
Raw Normal View History

2018-08-17 02:49:09 +01:00
FROM hackebein/srcds
ENV APPS="4020" \
TICKRATE="66" \
MAXPLAYERS="16" \
#http://steamcommunity.com/dev/apikey
AUTHKEY="" \
WORKSHOPCOLLECTIONID="" \
# sandbox or terrortown
GAMEMODE="sandbox" \
MAP="gm_flatgrass" \
#http://steamcommunity.com/dev/managegameservers APPID: 4000
GLST="" \
CONFIG="server.cfg" \
CUSTOMPARAMETERS="" \
SRCDSPARAMS="\
-game garrysmod \
2018-08-17 20:15:32 +01:00
-tickrate \${TICKRATE} \
-maxplayers \${MAXPLAYERS} \
-authkey \${AUTHKEY} \
+host_workshop_collection \${WORKSHOPCOLLECTIONID} \
+gamemode \${GAMEMODE} \
+map \${MAP} \
+sv_setsteamaccount \${GLST} \
+servercfgfile \${CONFIG} \
\${CUSTOMPARAMETERS} \
2018-08-17 02:49:09 +01:00
"
COPY cfg $BASEDIR/garrysmod/cfg