|
@@ -518,15 +518,18 @@ class ReleaseV2 extends Release
|
|
|
$module = "pma";
|
|
|
$host_env_file = "host.env";
|
|
|
extract($config);
|
|
|
-
|
|
|
- $service = $this->aux1($composer, $module, $config);
|
|
|
-
|
|
|
- $service
|
|
|
+
|
|
|
+ $composer
|
|
|
+ ->addService("pma")
|
|
|
+ ->image("phpmyadmin/phpmyadmin")
|
|
|
+ ->restart($this->_docker_restart_default)
|
|
|
->addLinks("mysql", "mysql")
|
|
|
- ->addEnv_file("mysql.{$host_env_file}")
|
|
|
+ ->addEnv_file("host.env")
|
|
|
+ ->addEnv_file("mysql." . $host_env_file)
|
|
|
+ ->addEnv_file($module . "." . $host_env_file)
|
|
|
->addVolumes("pma_volumen", "/www");
|
|
|
|
|
|
- $this->writeVariablesEnviroment("{$module}.{$host_env_file}", $module);
|
|
|
+ $this->writeVariablesEnviroment($module . "." . $host_env_file, $module);
|
|
|
}
|
|
|
|
|
|
function addGrafana(FileFormat2 $composer, $config = array())
|