|
@@ -43,10 +43,11 @@ class Mysql extends InitialService
|
|
|
if ($this->getProduction() === false) {
|
|
|
$this->getComposer()->service($module)
|
|
|
->build("./$module/")
|
|
|
- ->addPorts(3306, 3306)
|
|
|
->addVolumes("./$module/fd3.conf", "/etc/mysql/conf.d/fd3.conf");
|
|
|
}
|
|
|
$this->getComposer()->service($module)
|
|
|
+ ->addPorts(3306, 3306)
|
|
|
+ ->addPorts(33060, 33060)
|
|
|
->hostname($module)
|
|
|
->addEnv_file($module . "." . $host_env_file)
|
|
|
->addVolumes("./database/mysql/", "/var/lib/mysql/")
|