CS:GO docker image.
Go to file
Djeeberjr da36bdaeb3
All checks were successful
continuous-integration/drone/push Build is passing
updated metamod and sourcemod
2023-01-12 16:10:35 +01:00
.drone.yml drone docker hub 2021-12-30 12:15:07 +01:00
docker-compose.yml added MAP_ROTATION 2022-04-29 22:51:43 +02:00
Dockerfile updated metamod and sourcemod 2023-01-12 16:10:35 +01:00
entrypoint.sh added MAP_ROTATION 2022-04-29 22:51:43 +02:00
README.md added MAP_ROTATION 2022-04-29 22:51:43 +02:00

Standard enviroment variable

GSLT: Game Server Login Token. Required if you want your server to public. Get your token here.

WORKSHOP_AUTHKEY: Required if you want to play workshop maps. Get your token here

MAP: Default map to start.

INSECURE: Set this var to disable VAC.

MAX_PLAYERS: Overide max players.

TICKRATE: Tickrate of the server. Default is 64.

NOHLTV: Disable HLTV.

MAPGROUP: Mapgroup to cycle through. Values: mg_bomb, mg_hostage, mg_dust, mg_demolition or mg_armsrace.

RCONPW: Sets the RCON password.

WORKSHOP_MAP: Specify with what workshop map to start.

WORKSHOP_COLLECTION: Specify what workshop collection to cycle through.

GAMEMODE: What gamemode to load. Not the same as the game_mode cvar. Value gets translated to a gamemode/gametype combination. Available values are: casual,competitive, wingman, armsrace, deathmatch, custom, coop, dangerzone, weaponexpert,demolition,stab_zap,ffa,flying_scoutsman,trigger_discipline,headshots,hunter_gatherers,retakes,competitive_short. For more information see here.

MAP_ROTATION comma separated list of maps to populate the mapcycle.txt and maplist.txt files.

Custom conVars

You can set ANY other variable by just prefixing the conVar with CVAR_. So for example if you want to set mp_disable_autokick 1 just set the enviroment variable CVAR_MP_DISABLE_AUTOKICK to 1. Upper or lower case is ignored.

Minimum configuration

The minimum variables you should set for a somewhat working game is is GSLT, MAP and maybe GAMEMODE. You can also check out the example docker-compose.yml.

Misc

Because docker-compose recreated the container every time you update a varaible you can mount /home/steam/server to a volume so that you dont have to redownload the server every time you change something.

The game gets updated every time the image restarts.