Skip to content

bubylou/moria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moria

This container is used to run a Return to Moria dedicated server. An additional container tag "-full" is available which already has the dedicated server files downloaded at the cost increases the intial container download size.

Environment-Variables

Start Up Options

The following environment variables are made available to alter how the game server behaves on start.

Variable Description Default Values Allowed Values
UPDATE_ON_START Update the game server files on container start. true true/false
RESET_SEED Remove server seed file which will reset the join code. false true/false

Server Settings

These variables modify some of the game configuration options and storage locations.

Variable Description Default Values Allowed Values
APP_DIR Application files directory /app/moria directory
CONFIG_DIR Configuration file directory /config/moria directory
DATA_DIR Save data directory /data/moria directory
LISTEN_PORT Port number for listener. 7777 1024-65535

Examples

Podman Run

podman run --name moria \
    -p 7777:7777/udp \
    -v ./moria:/data/moria \
    --restart unless-stopped \
    ghcr.io/bubylou/moria:latest

Podman Compose

services:
  moria:
    container_name: moria
    image: ghcr.io/bubylou/moria:latest
    restart: unless-stopped
    environment:
      - UPDATE_ON_START=true
      - RESET_SEED=false
      - LISTEN_PORT=7777
    ports:
      - 7777:7777/udp
    volumes:
      - moria-app:/app/moria # game server files
      - moria-config:/config/moria # moria config files
      - moria-data:/data/moria # game/world save
volumes:
  moria-app:
  moria-config:
  moria-data:

About

Return to Moria dedicated server.

Resources

License

Stars

Watchers

Forks

Packages