MORDHAU is a multiplayer medieval slasher. Create your mercenary and fight in brutal battles where you will experience fast paced combat, castle sieges, cavalry charges, and more.
This Docker image contains the dedicated server of the game.
Running on the host interface (recommended):
$ docker run -d --net=host --name=mordhau-dedicated cm2network/mordhau
Running multiple instances (iterate SERVER_PORT, SERVER_QUERYPORT and SERVER_BEACONPORT):
$ docker run -d --net=host -e SERVER_PORT=7778 -e SERVER_QUERYPORT=27016 -e SERVER_BEACONPORT=15001 --name=mordhau-dedicated2 cm2network/mordhau
It's also recommended using "--cpuset-cpus=" to limit the game server to a specific core & thread.
The container will automatically update the game on startup, so if there is a game update just restart the container.
Feel free to overwrite these environment variables, using -e (--env):
SERVER_ADMINPW="replacethisyoumadlad"
SERVER_PW=""
SERVER_MAXPLAYERS=32
SERVER_TICKRATE=60
SERVER_PORT=7777
SERVER_QUERYPORT=27015
SERVER_BEACONPORT=15000
SERVER_DEFAULTMAP="\/Game\/Mordhau\/Maps\/ThePit\/FFA_ThePit.FFA_ThePit"
The config files can be found under /home/steam/mordhau-dedicated/Mordhau/Saved/Config/LinuxServer
If you want to learn more about configuring a Mordhau server check this documentation.