mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user