docker run -d -p 26900:26900/udp -p 27020:27020/udp -p 27015:27015/udp -p 27015:27015 -e ADMIN_STEAM=0:1:1234566 --name cs internetaddict/cstrike16:basic
docker run -d -p 26900:26900/udp -p 27020:27020/udp -p 27015:27015/udp -p 27015:27015 -e MAXPLAYERS=32 -e START_MAP=de_dust2 -e SERVER_NAME="My Server Name" -e START_MONEY=16000 -e BUY_TIME=0.25 -e FRIENDLY_FIRE=1 -e ADMIN_STEAM=0:1:1234566 --name cs internetaddict/cstrike16:basic +log
Name | Description | Default Value |
---|---|---|
MAXPLAYERS |
The maximum number of players | 32 |
START_MAP |
The initial map | de_dust2 |
SERVER_NAME |
The server name | Counter-Strike 1.6 Server |
START_MONEY |
The initial money | 800 |
BUY_TIME |
The allowed time to buy items in each round (minutes) | 0.25 |
FRIENDLY_FIRE |
Enable or disable the friendly fire. (off: 0, on: 1) | 1 |
SERVER_PASSWORD |
The server password. (Empty for no server password) | None |
RCON_PASSWORD |
The rcon password. (Empty for no rcon password) | None |
RESTART_ON_FAIL |
String | None |
ADMIN_STEAM |
Your STEAM_ID | None |
docker stop cs
docker start cs
docker rm cs
docker-compose up -d
docker-compose down
This project is based on counter-strike-docker, developed by Artem Panchenko. This project is a fork of counter-strike-docker, by Dimitris Touzloudis
- Changed the name of the build.
- Added new maps.
- Added new parameters in run script.
- Optimized Dockerfile
- Changed HLDS user from root to unprivileged one
- Added few amxx's plugins for Qaulity of Life purposes
- Added docker-compose.yml file with example environment configuration