Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ services:
volumes:
- /path/to/cs2server:/data
network_mode: host
environment:
- UPDATE_CHECK=60
restart: unless-stopped
```

Expand All @@ -46,13 +48,14 @@ docker run -d \
-p 27015:27015 \
-p 27020:27020/udp \
-p 27005:27005/udp \
-e UPDATE_CHECK=60 \
--restart unless-stopped \
gameservermanagers/gameserver:cs2
```

### First Run

Before the first run, make sure to edit the docker-compose.yml file by changing the image tag and container_name to match your chosen game server. Upon the initial run, LinuxGSM will install the selected server and start running. The game server details will be displayed once the installation is complete.
Before the first run, make sure to edit the docker-compose.yml file by changing the image tag and container_name to match your chosen game server. Upon the initial run, LinuxGSM will install the selected server and start running. The game server details will be displayed once the installation is complete. By default, LinuxGSM checks for game server updates every 60 minutes and each time the container starts. Set `UPDATE_CHECK` to a value from 1 to 59 to change the interval in minutes, or to `0` to turn off scheduled checks. Set `UPDATE_ON_START=false` to skip the update when the container starts.

### Game Server Ports

Expand Down