mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 23:26:23 +00:00
AzerothCore complete Docker solution
Check https://github.com/azerothcore/azerothcore-wotlk/tree/master/docker for all details.
This commit is contained in:
11
docker/authserver/Dockerfile
Normal file
11
docker/authserver/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM ubuntu:bionic
|
||||
|
||||
COPY --from=azerothcore/build:latest /azeroth-server /azeroth-server
|
||||
COPY authserver.conf.dist /azeroth-server/etc/authserver.conf
|
||||
COPY authserver.conf /azeroth-server/etc/authserver.conf
|
||||
|
||||
RUN apt update && apt install -y libmysqlclient-dev libssl-dev libace-6.* libace-dev; \
|
||||
rm /azeroth-server/etc/worldserver.conf.dist; \
|
||||
mkdir /azeroth-server/logs;
|
||||
|
||||
CMD ["/azeroth-server/bin/authserver"]
|
||||
25
docker/authserver/README.md
Normal file
25
docker/authserver/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# AzerothCore Dockerized Authserver
|
||||
|
||||
This provides a way to launch a container with the AzerothCore authserver running inside it.
|
||||
|
||||
## Requirements
|
||||
|
||||
- You need to have [Docker](https://docs.docker.com/install/) installed in your system. You can install it on any operating system.
|
||||
|
||||
- You need to first build the [AzerothCore Build Image](https://github.com/azerothcore/azerothcore-wotlk/tree/master/docker/build).
|
||||
|
||||
- You have to copy the file `docker/authserver/authserver.conf.dist` and rename the copied file to `docker/authserver/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](https://docs.docker.com/engine/reference/commandline/build/).*
|
||||
|
||||
## Run the container
|
||||
|
||||
```docker run --name azt-authserver --network host -it azerothcore/authserver```
|
||||
|
||||
*For more information about the `docker run` command, check the [docker run doc](https://docs.docker.com/engine/reference/run/).*
|
||||
13
docker/authserver/authserver.conf.dist
Normal file
13
docker/authserver/authserver.conf.dist
Normal file
@@ -0,0 +1,13 @@
|
||||
###############################################
|
||||
# AzerothCore Auth Server configuration file #
|
||||
###############################################
|
||||
[authserver]
|
||||
|
||||
# Do not change this
|
||||
LogsDir = "/azeroth-server/etc/logs"
|
||||
|
||||
# Change this configuration accordingly with your setup
|
||||
LoginDatabaseInfo = "127.0.0.1;3600;root;password;acore_auth"
|
||||
|
||||
# Add more configuration overwrites
|
||||
LogLevel = 3
|
||||
Reference in New Issue
Block a user