Sign inSign up

xbird/cs2-matchzy

By xbird

•Updated 4 months ago

A cs2 docker server with metamod and Matchzy, based on joedwards32/cs2

Image
Networking
1

4.8K

xbird/cs2-matchzy repository overview

⁠cs2-matchzy

A cs2 docker server with MetaMod, CounterStrikeSharp and Matchzy, based on joedwards32/cs2

pipeline status - Latest Release

⁠Sources

based on joedwards32/cs2 docker image https://github.com/joedwards32/CS2⁠

with https://www.sourcemm.net/⁠ with https://github.com/roflmuffin/CounterStrikeSharp⁠ with https://github.com/shobhit-pathak/MatchZy⁠

Docker hub : https://hub.docker.com/r/xbird/cs2-matchzy⁠

CS2

⁠How to use this image

⁠Hosting a simple game server

Running using Docker:

SRCDS_TOKEN="..." # check https://steamcommunity.com/dev/managegameservers

docker run -d --name=cs2 -e SRCDS_TOKEN="$SRCDS_TOKEN" -e MATCHZY_ADMINS="..." -p 27015:27015/tcp -p 27015:27015/udp -p 27020:27020/udp xbird/cs2-matchzy

Running using a bind mount for data persistence on container recreation:

mkdir -p $(pwd)/cs2-data

chown 1000:1000 $(pwd)/cs2-data # Makes sure the directory is writeable by the unprivileged container user with uid 1000, known as steam

SRCDS_TOKEN="..." # check https://steamcommunity.com/dev/managegameservers

docker run -d --name=cs2 -e SRCDS_TOKEN="$SRCDS_TOKEN" -e MATCHZY_ADMINS="..." -v $(pwd)/cs2-data:/home/steam/cs2-dedicated/ -p 27015:27015/tcp -p 27015:27015/udp -p 27020:27020/udp xbird/cs2-matchzy

or using docker-compose, see compose file⁠:

# Remember to update passwords and SRCDS_TOKEN in your compose file
docker compose --file compose.yaml up -d

⁠Update

just restart the container, it with check cs2 update, but also metamod / cssharp / matchzy and auto update if needed

⁠Configuration

See the base image readme for fine tunning : https://github.com/joedwards32/CS2⁠

Tag summary

Content type

Image

Digest

sha256:1056e0031…

Size

472 MB

Last updated

4 months ago

docker pull xbird/cs2-matchzy