Make the Docker installation easy

See: https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker
This commit is contained in:
Francesco Borzì
2019-01-16 20:44:02 +01:00
committed by GitHub
parent 7599624fdf
commit b578bce1d1
14 changed files with 131 additions and 27 deletions

View File

@@ -1,6 +1,8 @@
# AzerothCore Dockerized Authserver
This provides a way to launch a container with the AzerothCore authserver running inside it.
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](https://github.com/azerothcore/azerothcore-wotlk/wiki/install-with-Docker).
## Requirements
@@ -16,14 +18,16 @@ This provides a way to launch a container with the AzerothCore authserver runnin
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/```
```
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 ac-auth-container \
docker run --name ac-authserver \
--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 \

View File

@@ -10,7 +10,7 @@ LogsDir = "/azeroth-server/logs" # will reflect on your host directory: docker/w
# 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"
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
# Add more configuration overwrites by copying settings from from authserver.conf.dist
LogLevel = 3