server/dockercontainer
Helladan 1c509686bb fix reference to dockerFiles to match with real files name (#92)
Co-authored-by: Helladan <contact@helladan.io>
2020-07-27 22:42:15 +01:00
..
docker-compose.yml fix reference to dockerFiles to match with real files name (#92) 2020-07-27 22:42:15 +01:00
DockerFile-mangosd Create a docker container image and runing it with docker-compose (#164) 2020-05-24 18:11:42 +01:00
DockerFile-realmd Create a docker container image and runing it with docker-compose (#164) 2020-05-24 18:11:42 +01:00
Readme.txt Create a docker container image and runing it with docker-compose (#164) 2020-05-24 18:11:42 +01:00

How to start:
To start the docker container use the command "docker-compose up" inside the dockercontainer folder
If you need to rebuild the images use "docker-compose build"

Now to setup the server make sure you have the correct configuration and the data folder in the correct location:
The configuration should be place here "../../etc" from the dockercontainer folder
The data folder should be place here "../../data" from the dockercontainer folder
Note: those paths can be change inside the docker-compose.yml file

Configutation:
Inside your "mangosd.conf" make sure the "DataDir" is set to "/mangos/data"
Make sure all the mysql hostname is set to "mysqldb"
The Mysql connection seting is set inside the docker-compose.yml file and can be change
Here the default values:
- MYSQL_USER=mangos
- MYSQL_PASSWORD=mangos
- MYSQL_ROOT_PASSWORD=mangos
- MYSQL_ROOT_HOST=%

The database need to be run manualy in order to have it initialize