Add README.md

main
Astra 2023-04-28 12:40:18 +00:00
parent 8b1af25b4a
commit de6dfdcca3
1 changed files with 38 additions and 0 deletions

38
README.md 100644
View File

@ -0,0 +1,38 @@
csgo (Docker/Podman)
====================
Usage:
```bash
$ git pull ssh://git@git.zio.sh:2222/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:
```bash
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
```