https://github.com/alphakeks/cs2kz-server
Simple Docker setup for a CS2 server
https://github.com/alphakeks/cs2kz-server
Last synced: about 1 month ago
JSON representation
Simple Docker setup for a CS2 server
- Host: GitHub
- URL: https://github.com/alphakeks/cs2kz-server
- Owner: AlphaKeks
- Created: 2023-11-21T22:21:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T17:20:26.000Z (about 2 years ago)
- Last Synced: 2025-03-21T06:41:44.574Z (over 1 year ago)
- Language: Makefile
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CS2 Server Template
## Running the container
Everything in the repository root will be copied into the container, so you can put plugins,
configuration files, etc. in the repo root and then install them in the container.
Before start the server, create a `docker-entrypoint.sh` script that contains anything you want
the container to execute:
```sh
#!/bin/sh
make
make run
```
You can put `tail -f /dev/null` in there if you want it to spin forever, so you can shell into it
from a separate shell session.
To start the server, run the following command:
```sh
$ docker compose up --build
```
## Installing CS2KZ
1. Follow the instructions in this repo: https://github.com/zer0k-z/cs2kz_metamod/tree/dev
2. Copy `build/package` from the cs2kz_metamod repo into `./cs2kz`
3. Rebuild the container and KZ should get installed automatically.