How cemeeckhout/cs2 works
This repository packages a Counter-Strike 2 dedicated server as a Docker image. An operator starts the container with environment settings, ports, and optionally persistent storage; startup updates the game, runs the pre-start hook, and launches the server, with the post-stop hook running afterward. The documented configuration also covers game modes, bots, CSTV, and optional downloadable customizations. Source excerpts were unavailable, so the graph uses documented behavior and avoids inferring implementation details beyond the listed files.
Main entry points: entry.sh Startup entrypoint · server.cfg Server defaults · pre.sh Pre-start hook · post.sh Post-stop hook
Components 12
Container startup
- Startup entrypoint
bullseye/etc/entry.sh - Steam game update
- Pre-start hook
bullseye/etc/pre.sh - Post-stop hook
bullseye/etc/post.sh
Server configuration
- Runtime settings
- Server defaults
bullseye/etc/server.cfg - Customization bundle
- Persistent server data
Game runtime
- CS2 dedicated server
Other components
- Container operator
- Game clients
- CSTV spectators
Connections 13
- Container operator → Startup entrypoint: starts container
- Container operator → Runtime settings: sets options
- Container operator → Persistent server data: mounts volume
- Startup entrypoint → Steam game update: updates game
- Startup entrypoint → Pre-start hook: runs before start
- Startup entrypoint → CS2 dedicated server: launches server
- Startup entrypoint → Post-stop hook: runs after stop
- Runtime settings → CS2 dedicated server: configures server
- Server defaults → CS2 dedicated server: provides defaults
- Persistent server data → CS2 dedicated server: persists data
- CS2 dedicated server → Game clients: serves gameplay
- CS2 dedicated server → CSTV spectators: streams broadcasts
- Customization bundle → Startup entrypoint: downloaded by