Updated README to reference https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers
This commit is contained in:
parent
a8f5135f94
commit
7e38874c39
2 changed files with 8 additions and 2 deletions
|
@ -39,8 +39,8 @@ CS2_PORT=27015 (CS2 server listen port tcp_udp)
|
||||||
CS2_RCONPW="changeme" (RCON password)
|
CS2_RCONPW="changeme" (RCON password)
|
||||||
CS2_PW="changeme" (CS2 server password)
|
CS2_PW="changeme" (CS2 server password)
|
||||||
CS2_MAXPLAYERS=10 (Max players)
|
CS2_MAXPLAYERS=10 (Max players)
|
||||||
CS2_GAMETYPE=0 (Game type, see)
|
CS2_GAMETYPE=0 (Game type, see https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
|
||||||
CS2_GAMEMODE=0 (Game mode, see)
|
CS2_GAMEMODE=0 (Game mode, see https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
|
||||||
CS2_MAPGROUP="mg_active" (Map pool)
|
CS2_MAPGROUP="mg_active" (Map pool)
|
||||||
CS2_STARTMAP="de_inferno" (Start map)
|
CS2_STARTMAP="de_inferno" (Start map)
|
||||||
CS2_ADDITIONAL_ARGS="" (Optional additional arguments to pass into cs2)
|
CS2_ADDITIONAL_ARGS="" (Optional additional arguments to pass into cs2)
|
||||||
|
|
|
@ -40,6 +40,12 @@ ENV CS2_PORT=27015 \
|
||||||
CS2_GAMEMODE=0 \
|
CS2_GAMEMODE=0 \
|
||||||
CS2_ADDITIONAL_ARGS=""
|
CS2_ADDITIONAL_ARGS=""
|
||||||
|
|
||||||
|
# Set permissions on STEAMAPPDIR
|
||||||
|
# Permissions may need to be reset if persistent volume mounted
|
||||||
|
RUN set -x \
|
||||||
|
&& chown -R "${USER}:${USER}" "${STEAMAPPDIR}" \
|
||||||
|
&& chmod 0777 "${STEAMAPPDIR}"
|
||||||
|
|
||||||
# Switch to user
|
# Switch to user
|
||||||
USER ${USER}
|
USER ${USER}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue