Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ohbus/csgo-docker
https://github.com/ohbus/csgo-docker
csgo dedicated-server docker dockerfile srcds
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ohbus/csgo-docker
- Owner: ohbus
- License: mit
- Created: 2019-09-20T17:53:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T20:05:19.000Z (almost 5 years ago)
- Last Synced: 2023-03-04T15:44:02.473Z (almost 2 years ago)
- Topics: csgo, dedicated-server, docker, dockerfile, srcds
- Language: Shell
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Counter Strike Global Offensive + Docker
[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/ohbus/csgo-docker/blob/master/LICENSE.md)
CS:GO server in docker with 128 tick enabled by default.
### Details:
By default image is build with enabled autoupdate feature (take a look at `csgo.sh` file).
You can create new Dockerfile based on that image (FROM csgo) and customize it with plugins, configs, CMD and ENTRYPOINT instructions.```shell
# Build image and tag it as csgo
docker build -t csgo github.com/Gonzih/docker-csgo-server# Run image with default options (CMD in Dockerfile)
docker run -d -p 27015:27015 -p 27015:27015/udp csgo# Run image with as Classic Casual server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_cache# Run image with as Classic Competetive server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_cache# Run image with as Arm Race server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots# Run image with as Demolition server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake# Run image with as Deathmatch server
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust# To run lan server just add `+sv_lan 1` at end of command
docker run -d -p 27015:27015 -p 27015:27015/udp csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_cache +sv_lan 1
```### Running public server
To run public server you need to [Register Login Token](http://steamcommunity.com/dev/managegameservers) and adding `+sv_setsteamaccount THISGSLTHERE -net_port_try 1` to the server command.
Refer to [Docs](https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Registering_Game_Server_Login_Token) for more details.