Skip to content

An Unofficial Docker Image that allows running a Private Server of Knockout City

Notifications You must be signed in to change notification settings

kocxyz/ServerDocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Knockout City Server - Docker

An Unofficial Docker Image that allows running a Private Server of Knockout City.

Report Bug

Table of Contents
  1. Prequisite
  2. Usage
  3. Contributing
  4. License

Prequisite

Usage

Copy the compose.yaml and tweak to your liking.

Then you can start the server as follows:

docker compose up

Environment Variables

For detailed information on the different parameters please refer to the Knockout City Private Server README.

Name Required Description
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

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)