mxw_wotlk_azerothcore/docker/authserver/README.md

1.8 KiB

AzerothCore Dockerized Authserver

This provides a way to manually build and launch a container with the AzerothCore authserver running inside it.

If you just want to install the whole AzerothCore quickly using Docker Compose, we recommend this guide.

Requirements

  • You need to have Docker installed in your system. You can install it on any operating system.

  • You need to first build the AzerothCore Build Image.

  • If you haven't created a docker network yet, create it by simply using docker network create ac-network.

  • You have to copy the file docker/authserver/etc/authserver.conf.dockerdist and rename the copied file to docker/authserver/etc/authserver.conf. Then open it and change the values where needed (you may need to change the DB port).

Building the container image

To build the container image you have to be in the main folder of your local AzerothCore sources directory.

docker build -t azerothcore/authserver -f docker/authserver/Dockerfile docker/authserver

For more information about the docker build command, check the docker build doc.

Run the container

docker run --name ac-authserver \
    --mount type=bind,source="$(pwd)"/docker/authserver/bin/,target=/azeroth-server/bin \
    --mount type=bind,source="$(pwd)"/docker/authserver/etc/,target=/azeroth-server/etc \
    --mount type=bind,source="$(pwd)"/docker/authserver/logs/,target=/azeroth-server/logs \
    -p 127.0.0.1:3724:3724 \
    --network ac-network \
    -it azerothcore/authserver

For more information about the docker run command, check the docker run doc.