A cs2 docker server with metamod and Matchzy, based on joedwards32/cs2
4.8K
A cs2 docker server with MetaMod, CounterStrikeSharp and Matchzy, based on joedwards32/cs2
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

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
just restart the container, it with check cs2 update, but also metamod / cssharp / matchzy and auto update if needed
See the base image readme for fine tunning : https://github.com/joedwards32/CS2
Content type
Image
Digest
sha256:1056e0031…
Size
472 MB
Last updated
4 months ago
docker pull xbird/cs2-matchzy