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 Worldserver
This provides a way to launch a container with the AzerothCore authserver running inside it.
This provides a way to 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 following [this guide instead](https://github.com/azerothcore/azerothcore-wotlk/wiki/install-with-Docker).
## Requirements
@@ -27,7 +29,7 @@ To build the container image you have to be in the **main** folder of your local
Replace `/path/to/your/data` with the path of where your data folder is.
```
docker run --name ac-world-container \
docker run --name ac-worldserver \
--mount type=bind,source=/path/to/your/data,target=/azeroth-server/data \
--mount type=bind,source="$(pwd)"/docker/worldserver/etc/,target=/azeroth-server/etc \
--mount type=bind,source="$(pwd)"/docker/worldserver/logs/,target=/azeroth-server/logs \

View File

View File

@@ -11,9 +11,9 @@ DataDir = "/azeroth-server/data"
# 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"
WorldDatabaseInfo = "ac-db-container;3306;root;password;acore_world"
CharacterDatabaseInfo = "ac-db-container;3306;root;password;acore_characters"
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
WorldDatabaseInfo = "ac-database;3306;root;password;acore_world"
CharacterDatabaseInfo = "ac-database;3306;root;password;acore_characters"
# Add more configuration overwrites by copying settings from worldserver.conf.dist
LogLevel = 2