Initial dockerfile

This commit is contained in:
Tyler 2020-07-09 17:07:38 -04:00
parent af197d7246
commit d6c2289e2c
1 changed files with 42 additions and 0 deletions

42
Dockerfile Normal file
View File

@ -0,0 +1,42 @@
FROM hackebein/srcds
ENV \
# App
APPS="440" \
#
# API
# http://steamcommunity.com/dev/apikey
AUTHKEY="" \
#
# Public access
# automatic via API
GLSTAPP="440" \
# manual
# APPID: 4000
# http://steamcommunity.com/dev/managegameservers
GLST="" \
#
# Workshop server download (require API)
WORKSHOP="\${WORKSHOPCOLLECTIONID:-}" \
#
# Workshop client download (require API)
WORKSHOPDL="" \
#
# Server config
GAME="tf" \
TICKRATE="66" \
MAXPLAYERS="24" \
MAP="cp_dustbowl" \
CONFIG="server.cfg" \
#
# Start parameters
SRCDSPARAMS="\
-game \${GAME} \
-tickrate \${TICKRATE} \
-maxplayers \${MAXPLAYERS} \
-authkey \${AUTHKEY} \
+host_workshop_collection \${WORKSHOP} \
+map \${MAP} \
+servercfgfile \${CONFIG} \
\${CUSTOMPARAMETERS} \
"