We reccommend to run docker-compose.yml
than docker run
to have better control on your server
To gain your own config.json, we recommend to start the server binary on your system to generate server_identifier
. but at bottom we gave the example config you can use
Dont forget to change server_identifier
to somentig else!
config.json
{
"server_name": "My KissMP Server",
"description": "My Server Description",
"map": "/levels/smallgrid/info.json",
"max_players": 15,
"tickrate": 60,
"port": 3698,
"max_vehicles_per_client": 5,
"show_in_server_list": true,
"server_identifier": "zYd\\3n#'JA"
}
How to setup server
- Make sure you have
docker
anddocker-compose
installed on your system! - Put
config.json
anddocker-compose.yml
into your server directory - If you want add mods or addons create folders in same directory as
step 2
name itmods
or/andaddons
- Edit
config.json
anddocker-compose.yml
to your preffer - Start server by using
docker-compose up -d
- Try to join and review if everything is working!
- To stop or restart server use
docker-compose down
ordocker-compose restart
--- You can use Portainer.io to manage your server from browser
docker-compose.yml
---
version: "3"
services:
kissmp:
image: bartixxx32/kissmpbase:latest
ports:
- "3698:3698/udp"
restart: unless-stopped
volumes:
- ./config.json:/server/config.json
- ./mods/:/server/mods/
- ./addons/:/server/addons/
---