mordhau

Mordhau Docker Image

Mordhau专用服务器Docker镜像,包含游戏专用服务器程序,支持通过SteamCMD运行,可快速部署多人中世纪砍杀游戏服务器,适用于搭建在线对战环境。

9 次收藏下载次数: 0状态:社区镜像维护者:cm2network仓库类型:镜像最近更新:
下载命令
点击查看

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):

dockerfile
SERVER_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

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 mordhau 镜像标签

docker pull docker.xuanyuan.run/cm2network/mordhau:<标签>

DockerHub 原生拉取命令

docker pull cm2network/mordhau:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告