Skip to content

Aerya/Docker-MOHAA-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-MOHAA-server

Docker MOHAA 1.12 Reborn server including volume to add contents such as maps, skins...

Tested on Linux Ubuntu/Debian.

Game root folder (/app) is a WORKDIR in Docker so it can't be mounted locally (VOLUME). Thus we couldn't add maps or whatever easily. I added:

  • /stuff folder as a VOLUME (aka you can mount it locally)
  • cron and a cronjob so as every minute any file/folder in /stuff will be copied to /app
  • new startup script to launch game server and start cron

Not the smartest but the easiest to me.

GL HF!!

docker run -d \
--name=mohaa \
--restart always \
-p 12203:12203/udp \
-p 12300:12300/udp \
-e TZ=Europe/Paris \
-v /home/aerya/docker/mohaa/config:/config \
-v /home/aerya/docker/mohaa/stuff:/stuff \
aerya/mohaa-server-volume-enabled:latest
  • /config = game server config (config.cfg)
  • /stuff = add maps or whatever

Reported to work on Synology.

About

Docker MOHAA server including volume to add contents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published