forked from mangostwo/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
20 lines (17 loc) · 959 Bytes
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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