Mordhau专用服务器Docker镜像,包含游戏专用服务器程序,支持通过SteamCMD运行,可快速部署多人中世纪砍杀游戏服务器,适用于搭建在线对战环境。
Supported tags and respective Dockerfile links
- https://github.com/CM2Walki/Mordhau/blob/master/bookworm/Dockerfile
What is Mordhau?
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.
https://store.steampowered.com/app/629760/MORDHAU/
How to use this image
Hosting a simple game server
Running on the host interface (recommended):
console$ docker run -d --net=host --name=mordhau-dedicated cm2network/mordhau
Running using a bind mount for data persistence on container recreation:
console$ mkdir -p $(pwd)/mordhau-data $ chmod 777 $(pwd)/mordhau-data # Makes sure the directory is writeable by the unprivileged container user $ docker run -d --net=host -v $(pwd)/mordhau-data:/home/steam/mordhau-dedicated/ --name=mordhau-dedicated cm2network/mordhau
Running multiple instances (iterate SERVER_PORT, SERVER_QUERYPORT and SERVER_BEACONPORT):
console$ 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.
Configuration
Environment Variables
Feel free to overwrite these environment variables, using -e (--env):
dockerfileSERVER_ADMINPW="replacethisyoumadlad" SERVER_PW="" SERVER_NAME="My Mordhau Server" SERVER_MAXPLAYERS=32 SERVER_TICKRATE=60 SERVER_PORT=7777 SERVER_QUERYPORT=27015 SERVER_BEACONPORT=15000 SERVER_GAMEINI="cfg/Game.ini" SERVER_ENGINEINI="cfg/Engine.ini" SERVER_DEFAULTMAP="ThePit\/FFA_ThePit.FFA_ThePit" STEAMCMD_UPDATE_ARGS="" (Gets appended here: +app_update [appid] [STEAMCMD_UPDATE_ARGS]; Example: "validate") ADDITIONAL_ARGS="" (Pass additional arguments to srcds. Make sure to escape correctly!)
Config
The config files (Game.ini & Engine.ini) can be found under /home/steam/mordhau-dedicated/cfg
If you want to learn more about configuring a Mordhau server check this documentation.
Image Variants:
holdfastnaw:latest
This is the defacto image. It is a bare-minimum Holdfast: Nations At War dedicated server containing no 3rd party plugins.
Contributors
cm2network 命名空间的其他可用镜像:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 mordhau 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务