Skip to content

no more room in hell dedicated server running in docker

Notifications You must be signed in to change notification settings

karnzx/nmrih-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nmrih-docker

no more room in hell dedicated server in docker

I use this to create a private, dedicated server for playing with friends, allowing us to relive the cherished memories of our childhood.

Usage

Start server with default server config or edit server config instead.

docker run -d -i -t --name nmrih-server \
        -p 27015:27015/udp \
	-e SV_HOSTNAME="server-name" \
	-e SV_PASSWORD="1234" \
	ghcr.io/karnzx/nmrih-docker:latest

Should be run with minimum port 20175/udp or you can expose 27015 and 27020/udp too if you want.

docker run -d -i -t --name nmrih-server \
	-p 27015:27015/udp \
        -p 27015:27015 \
        -p 27020:27020/udp \
	--restart=unless-stopped \
	ghcr.io/karnzx/nmrih-docker:latest

If use persistence volume be sure that directory user owner id is 1000, severfiles stored at /home/steam/nmrih/

docker run -d -i -t --name nmrih-server \
        -p 27015:27015/udp \
        -v ./nmrih:/home/steam/nmrih/ \
        --restart=unless-stopped \
        ghcr.io/karnzx/nmrih-docker:latest

Restart by run

docker restart nmrih-server

Delete by run (force remove nmrih-server container)

docker rm -f nmrih-server

Console

Using server console so you can run commands directly by run docker attach

Note: Detach by press Ctrl+P+Q

docker attach nmrih-server

Config

edit server.cfg in nmrih/nmrih/cfg/server.cfg

docker exec -i -t nmrih-server nano nmrih/nmrih/cfg/server.cfg

Credit & Ref

About

no more room in hell dedicated server running in docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages