mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
Make the Docker installation easy
See: https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user