An Unofficial Docker Image that allows running a Private Server of Knockout City.
Report Bug
Table of Contents
- docker (any version that supports compose v2)
Copy the compose.yaml
and tweak to your liking.
Then you can start the server as follows:
docker compose up
For detailed information on the different parameters please refer to the Knockout City Private Server README.
Name | Required | Description |
---|---|---|
KOC_FORCE_SERVER_DONWLOAD |
No | Forces to redownload the Server files. default : false |
KOC_SERVER_DONWLOAD_URL |
No | The URL where the Knockout City Server files are located. If not specified will not redownload files. Must be specified for initialisation. example : https://chonky-delivery-network.akamaized.net/KnockoutCity-Server-10.0-269701.zip |
KOC_BACKEND_MAX_PLAYER_CONNECTIONS |
No | The maximum number of players that can be connected at the same time. default : 10 |
KOC_BACKEND_PORT |
No | TCP port on which the online backend services listen. default : 23600 |
KOC_SERVER_MIN_PORT |
No | Start of UDP port range on which game servers will listen. default : 23600 |
KOC_SERVER_MAX_PORT |
No | End of UDP port range on which game servers will listen.default : 23699 |
KOC_SECRET |
No | A password that if specified needs also be passed to the KnockoutCity.exe |
KOC_BACKEND_DB |
Yes | PostgreSQL connection string to use a running PostgreSQL server. |
KOC_BACKEND_REDIS_DB_HOST |
Yes | Hostname of a running Redis Server. |
KOC_BACKEND_REDIS_DB_PORT |
No | Port of a running Redis Server.default : 6379 |
In order to add mods to the server you can mount the /mod-loader
directory to your local file system. Mods can be installed in there as well as configured.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request