mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
Docker: fix connectivity issues on Mac & Windows (#1275)
This commit is contained in:
@@ -8,6 +8,8 @@ This provides a way to launch a container with the AzerothCore authserver runnin
|
||||
|
||||
- You need to first build the [AzerothCore Build Image](https://github.com/azerothcore/azerothcore-wotlk/tree/master/docker/build).
|
||||
|
||||
- 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
|
||||
@@ -21,10 +23,11 @@ To build the container image you have to be in the **main** folder of your local
|
||||
## Run the container
|
||||
|
||||
```
|
||||
docker run --name azt-authserver \
|
||||
docker run --name ac-auth-container \
|
||||
--mount type=bind,source="$(pwd)"/docker/authserver/etc/,target=/azeroth-server/etc \
|
||||
--mount type=bind,source="$(pwd)"/docker/authserver/logs/,target=/azeroth-server/logs \
|
||||
--network host \
|
||||
-p 127.0.0.1:3724:3724 \
|
||||
--network ac-network \
|
||||
-it azerothcore/authserver
|
||||
```
|
||||
|
||||
|
||||
@@ -4,10 +4,16 @@
|
||||
[authserver]
|
||||
|
||||
# Do not change this
|
||||
LogsDir = "/azeroth-server/logs"
|
||||
LogsDir = "/azeroth-server/logs" # will reflect on your host directory: docker/worldserver/logs
|
||||
|
||||
# Change this configuration accordingly with your setup
|
||||
LoginDatabaseInfo = "127.0.0.1;3600;root;password;acore_auth"
|
||||
# Change this configuration accordingly with your docker setup
|
||||
# The format is "hostname;port;username;password;database":
|
||||
# - docker containers must be on the same docker network to be able to communicate
|
||||
# - the DB hostname will be the name of the database docker container
|
||||
LoginDatabaseInfo = "ac-db-container;3306;root;password;acore_auth"
|
||||
|
||||
# Add more configuration overwrites
|
||||
# Add more configuration overwrites by copying settings from from authserver.conf.dist
|
||||
LogLevel = 3
|
||||
SQLDriverLogFile = "SQLDriver.log"
|
||||
SQLDriverQueryLogging = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user