This docker image provides a preconfigured Counter-Strike Source server with several plugins.
The Docker image in the Docker Hub can be found here. It is a fork of the Docker Image by foxylion, found here.
foxylion's docker image runs very well, but I needed a customized one. I also have some plugin preferences. Finally, I want to, eventually, include a stats and admin web frontend.
I am currently using 2 tags:
The latest tag is the stable build that I am running on my server. This image is built from the master branch on GitHub.
The dev tag is a version I am working on, but have not yet decided it is good enough to merge into master. This image is built from the dev branch on GitHub
List of Added Plugins:
List of Unofficial Maps:
The docker container requires some ports to be exposed, therefore a more advanced run command is required.
docker run -d --name css-server \
-p 27015:27015 -p 27015:27015/udp -p 1200:1200 \
-p 27005:27005/udp -p 27020:27020/udp -p 26901:26901/udp \
-e RCON_PASSWORD=mypassword \
timseyschab/css-server
RCON_PASSWORD is your personal RCON password to authenticate as the administratorCSS_HOSTNAME is your custom server name shown in the server listCSS_PASSWORD is the password a user may require to connect, can be left emptyTo use spaces in a variable value, wrap it in singles quotes, with the value in quotes:
-e 'CSS_HOSTNAME="Moody Crew"'
Create a folder in the server's root folder such as /games/css and use that to customize server settings without working with the Docker container repeatedly.
The file overrides below can at most allow you to restart the container, rather than having to change anything in the container.
Note: The end goal is to allow almost total customization from outside the container without all of the individual overrides or requiring the entire cstrike folder to be outside of the container.
-v /path/to/motd_default.txt:/home/steam/css/cstrike/cfg/motd_default.txt
Note: There is an extra folder that contains a copy of the default motd_default.txt.
-v /path/to/mapcycle.txt:/home/steam/css/cstrike/cfg/mapcycle.txt
Note: The mapcycle.txt file included as default does not contain all official maps or the unofficial ones.
To control the SourceMod admins on the server you can use your own admins.cfg or admins_simple.ini file.
-v /path/to/admins_simple.ini:/home/steam/css/cstrike/addons/sourcemod/configs/admins_simple.ini
The default server.cfg can also be overriden, but you can also only override some specific settings, therefore use the following pattern
-v /path/to/my-server.cfg:/home/steam/css/cstrike/cfg/my-server.cfg
Any other configuration file can also be overriden using the same method as above, you must just locate the right file in the docker container. The folder structure is the same as when you install the server locally.
Content type
Image
Digest
Size
1.4 GB
Last updated
over 6 years ago
docker pull timseyschab/css-server