From ba79f308b50fe70dfa26de004526dadd9bcfb489 Mon Sep 17 00:00:00 2001 From: Lars Olzem Date: Sun, 24 Mar 2019 01:57:17 +0100 Subject: [PATCH] add support for new features from hackebein/srcds --- Dockerfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7245e19..de9903e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,19 @@ ENV \ # App APPS="4020" \ # + # API + # http://steamcommunity.com/dev/apikey + AUTHKEY="" \ + # # Public access + # automatic via API + GLSTAPP="4000" \ + # manual # APPID: 4000 # http://steamcommunity.com/dev/managegameservers GLST="" \ # - # Workshop config - # http://steamcommunity.com/dev/apikey - AUTHKEY="" \ + # Workshop config (require API) WORKSHOPCOLLECTIONID="" \ # # Server config @@ -35,9 +40,8 @@ ENV \ +host_workshop_collection \${WORKSHOPCOLLECTIONID} \ +gamemode \${GAMEMODE} \ +map \${MAP} \ - +sv_setsteamaccount \${GLST} \ +servercfgfile \${CONFIG} \ \${CUSTOMPARAMETERS} \ " -COPY cfg $BASEDIR/garrysmod/cfg \ No newline at end of file +COPY cfg $BASEDIR/garrysmod/cfg