Code Monkey home page Code Monkey logo

docker-csgo-server's Introduction

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

docker-csgo-server's People

Contributors

clefss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.