
* make the dockerfile working and docker-compose * add Readme * update docker-compose.yml * fix interaction with the mangosd server
20 lines
959 B
Plaintext
20 lines
959 B
Plaintext
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 |