This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Go to file
Astra 28a31ec461 Use https for git pull in README 2023-04-28 12:41:12 +00:00
.gitignore Add files 2023-04-23 22:06:29 +00:00
Dockerfile Update Dockerfile 2023-04-28 12:40:15 +00:00
README.md Use https for git pull in README 2023-04-28 12:41:12 +00:00
autoexec.cfg Add files 2023-04-23 22:06:29 +00:00
csgo_ds.txt Add files 2023-04-23 22:06:29 +00:00
run.sh Add files 2023-04-23 22:06:29 +00:00
server.cfg Add files 2023-04-23 22:06:29 +00:00

README.md

csgo (Docker/Podman)

Usage:

$ git pull https://git.zio.sh/astra/csgo.git
$ cd csgo
$ podman build -t astra/csgo:latest .
$ podman run \
     --replace \
     --name csgo \
     --hostname csgo \
     --publish 27015:27015 \
     --publish 27015:27015/udp \
     --env-file .env \
     --volume csgo_steam:/server/Steam \
     --volume csgo:/server/csgo \
     --volume csgo_addons:/server/csgo/csgo/addons \
     --volume csgo_cfg:/server/csgo/csgo/cfg \
     --volume csgo_maps:/server/csgo/csgo/maps \
     --volume csgo_sound:/server/csgo/csgo/sound \
     --volume csgo_models:/server/csgo/csgo/models \
     --volume csgo_materials:/server/csgo/csgo/materials \
     --volume ./rcon.yaml:/server/rcon.yaml \
     astra/csgo:latest

.env contents:

RCON_PASSWORD=
SERVER_PASSWORD=
SERVER_HOSTNAME=
TICKRATE=128
STEAMTOKEN=
STARTARGS=-nobots +game_type 3 +game_mode 0 -ip 0.0.0.0 -maxplayers_override 40
RUNSCRIPT=true # comment out to not have game verify/update