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.
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 |
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 |
podman run --name moria \
-p 7777:7777/udp \
-v ./moria:/data/moria \
--restart unless-stopped \
ghcr.io/bubylou/moria:latest
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: