Sign inSign up

clefss/csgo-server

By clefss

•Updated over 6 years ago

Image
0

281

clefss/csgo-server repository overview

GitHub GitHub  release Docker  Cloud Build Status Docker image size

logo

⁠Supported tags

⁠Docker compose - Example

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

⁠Configuration

⁠Volumes

The configuration files will be stored in /home/steam/steamapps persistently.

⁠Ports

CONNECT: 27015
GOTV: 27020

⁠Environments Variables

⁠TZ

Server Time Zone.
Example: TZ: Europe/Lisbon
Default: UTC

⁠IP

Your WAN IP address.
Example: IP: 192.168.1.100
Default: 0.0.0.0

⁠GSLT

Game 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_KEY

Steam 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_ID

A 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_MAP

A 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_PLAYERS

Maximum players that can connect.
Example: MAX_PLAYERS: 15
Default: 11

⁠TICKRATE

The tickrate that your server will operate at.
Example: TICKRATE: 64
Default: 128

⁠EXTRA_PARAMS

Custom 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

Tag summary

Content type

Image

Digest

Size

83.4 MB

Last updated

over 6 years ago

docker pull clefss/csgo-server