![]()
csgo-server:
container_name: csgo-server
image: clefss/csgo-server
restart: "unless-stopped"
volumes:
- $(pwd)/steam:/home/steam/steamapps
ports:
- 27015:27015/tcp
- 27015:27015/udp
- 27020:27020/udp
environment:
GSLT: XXXXXXXXXXXXXXX
API_AUTHORIZATION_KEY: XXXXXXXXXXXXXX
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 40000
The configuration files will be stored in /home/steam/steamapps persistently.
CONNECT: 27015
GOTV: 27020
TZServer Time Zone.
Example: TZ: Europe/Lisbon
Default: UTC
IPYour WAN IP address.
Example: IP: 192.168.1.100
Default: 0.0.0.0
GSLTGame Server Login Token. http://steamcommunity.com/dev/managegameservers
Anonymous connection will be deprecated in the near future. Therefore it is highly recommended to generate a Game Server Login Token.
Example: GSLT: XXXXXXXXXXXXXX
API_AUTHORIZATION_KEYSteam Web API Key. http://steamcommunity.com/dev/apikey
To download maps from the workshop, your server needs access to the steam web api.
Example: API_AUTHORIZATION_KEY: XXXXXXXXXXXXXX
WORKSHOP_COLLECTION_IDA collection id from the Maps Workshop. The API_AUTHORIZATION_KEY is required.
https://steamcommunity.com/sharedfiles/filedetails/?id=2056673593
Example: WORKSHOP_COLLECTION_ID: 2056673593
Default: 2056673593
WORKSHOP_START_MAPA map id in the selected collection (WORKSHOP_COLLECTION_ID). The API_AUTHORIZATION_KEY is required.
https://steamcommunity.com/sharedfiles/filedetails/?id=125438255
Example: WORKSHOP_START_MAP: 125438255
Default: 125438255
MAX_PLAYERSMaximum players that can connect.
Example: MAX_PLAYERS: 15
Default: 11
TICKRATEThe tickrate that your server will operate at.
Example: TICKRATE: 64
Default: 128
EXTRA_PARAMSCustom command line extra parameters.
Example: EXTRA_PARAMS: "+sv_pure 0 +game_type 0 +game_mode 2"
Default: +sv_pure 0 +game_type 0 +game_mode 1 +sv_region 3 +mapgroup mg_active +map de_dust2 -secure -nobreakpad
Content type
Image
Digest
Size
83.4 MB
Last updated
over 6 years ago
docker pull clefss/csgo-server