Skip to content

RealmD Configuration Guide

What is realmd.conf

The realmd.conf file is the primary configuration file for the authentication server in the emulator server. It handles user logins and connections, specifying settings such as database connections, IP bindings, and security options.

Example Configuration

The realmd.conf is made available in the predefined git repositories, set alongside a docker compose compose.yaml. These are "mounted" into the containers, making the configuration files available to the server.

Below is a basic example of how the mounting of the realmd.conf file into a Docker Compose container works:

services:
  mangos:
    image: thoriumlxc/mockserver:2025.01.01
    volumes:
      - ./realmd.conf:/opt/mangos/realmd.conf
    # Additional environment variables or configurations can go here

This works by being relative to the path of the compose.yaml file. So, if your file is located at /some/path/to/file/compose.yaml, then your file would be next to it within the same directory at /some/path/to/file/realmd.conf.

.
├── compose.yaml
├── mangosd.conf
├── README.md
└── realmd.conf

For Windows

On Windows, these paths will be in the form of C:\some\path\to\file\, as Windows uses \ and MacOS/Linux use / for indicating paths. Most likely your path is somewhere in your home directory like C:\Users\LocalUser\ThoriumLXC.

Configuration Options

Here are a few notable settings from the realmd.conf file.

Configuration Key Description
LoginDatabaseInfo Sets the database connection details for the authentication server.

This uses the alias database for the IP of Database container.
BindIP Defines the IP address the server listens on.
RealmServerPort Specifies the port for incoming connections.
MaxPingTime Determines the maximum time to wait for client responses.