@@ -16,6 +16,7 @@ services:
16
16
- CS2_PW=changeme # (CS2 server password)
17
17
- CS2_MAXPLAYERS=10 # (Max players)
18
18
- CS2_ADDITIONAL_ARGS # (Optional additional arguments to pass into cs2)
19
+ - CS2_CFG_URL # HTTP/HTTPS URL to fetch a Tar Gzip bundle of configuration files/mods
19
20
# Game modes
20
21
- CS2_GAMEALIAS # (Game type, e.g. casual, competitive, deathmatch. See https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
21
22
- CS2_GAMETYPE=0 # (Used if CS2_GAMEALIAS not defined. See https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
@@ -34,8 +35,13 @@ services:
34
35
- TV_RELAY_PW=changeme # CSTV password for relay proxies
35
36
- TV_MAXRATE=0 # World snapshots to broadcast per second. Affects camera tickrate.
36
37
- TV_DELAY=0 # Max CSTV spectator bandwidth rate allowed, 0 == unlimited
38
+ # Logs
39
+ - CS2_LOG=on # 'on'/'off'
40
+ - CS2_LOG_MONEY=0 # Turns money logging on/off: (0=off, 1=on)
41
+ - CS2_LOG_DETAIL=0 # Combat damage logging: (0=disabled, 1=enemy, 2=friendly, 3=all)
42
+ - CS2_LOG_ITEMS=0 # Turns item logging on/off: (0=off, 1=on)
37
43
volumes :
38
- - cs2:/home/steam/cs2-dedicated/ # (Change /mnt/cs2 according to your volume location)
44
+ - cs2:/home/steam/cs2-dedicated/ # Persistent data volume mount point inside container
39
45
ports :
40
46
- " 27015:27015/tcp" # TCP
41
47
- " 27015:27015/udp" # UDP
0 commit comments