Multiplayer: Mornedhel Docker server (Proton)
More actions
This guide covers the Mornedhel Enshrouded Dedicated Server Docker image running with Proton. For the Wine image, see the Wine guide. The image tags and container options are maintained in the Mornedhel server repository.
Back up and inspect the current container
Stop the server and back up the mounted game files. Find the existing container on the Linux host:
docker ps -a
Set NAME to the container name shown in the list. Record its image tag, port mappings, mounts, restart policy, and environment values so you can recreate the same service. The inspection output can contain passwords or other private values. Keep it private and do not post it publicly.
NAME=YOUR_CONTAINER_NAME
docker inspect "$NAME" --format 'Image={{.Config.Image}} Ports={{json .HostConfig.PortBindings}} Mounts={{json .Mounts}} Environment={{json .Config.Env}} Restart={{.HostConfig.RestartPolicy.Name}}'
Find the mount whose destination is /opt/enshrouded. Its Source is the game folder on the Linux host. Confirm the server executable path:
docker exec "$NAME" find /opt/enshrouded -name enshrouded_server.exe -print
Install the ShroudForge files
Follow the shared server-file setup. Copy the complete ShroudForge release and the mod package into the host folder mounted into the server container. Do not copy the files into the container's temporary writable layer.
Add the Proton DLL override
ShroudForge's server instructions require this environment value for the Proton Docker image so Proton loads ShroudForge's native DLLs:
WINEDLLOVERRIDES=dbghelp=native,builtin;winmm=native,builtin
The environment of an existing Docker container cannot be changed in place. Recreate it with the same image, ports, mount, restart policy, and every environment value it already uses, plus the override above.
Existing docker run container
Use the values recorded from docker inspect. Replace the example name, host path, image, ports, and other options with the existing service's values. Keep every existing environment variable.
NAME=YOUR_CONTAINER_NAME docker stop "$NAME" docker rm "$NAME" docker run -d --name "$NAME" --restart unless-stopped \ -p 15637:15637/udp \ -v /YOUR/HOST/GAMEFILES:/opt/enshrouded \ -e 'WINEDLLOVERRIDES=dbghelp=native,builtin;winmm=native,builtin' \ -e 'SERVER_QUERYPORT=15637' \ YOUR_EXISTING_IMAGE
In a port mapping, the value before the colon is the host port and the value after it is the container port. Preserve your existing mapping if it differs.
Docker Compose service
Add the override to the existing service's environment section. Keep the image, ports, volumes, restart policy, and other environment settings already used by the server.
services:
enshrouded:
image: mornedhels/enshrouded-server:stable-proton
container_name: enshrouded
restart: unless-stopped
ports:
- "15637:15637/udp"
volumes:
- /YOUR/HOST/GAMEFILES:/opt/enshrouded
environment:
WINEDLLOVERRIDES: "dbghelp=native,builtin;winmm=native,builtin"
SERVER_QUERYPORT: "15637"
Recreate the service using its Compose service name:
docker compose up -d --force-recreate enshrouded
Check the result
After the server starts, check shroudforge/logs/shroudforge-server.log in the mounted host folder. Confirm that ShroudForge started and that the intended mod loaded. If the log reports a missing DLL or a startup error, stop the container and compare the image, mount, and environment with the settings recorded before the change.