|
@@ -429,8 +429,8 @@ class Release extends Command
|
|
|
->addEnv_file($module . "." . $host_env_file)
|
|
|
->addEnv_file($module . ".oauth.env")
|
|
|
->addVolumes("./$module/", "/opt/" . $module)
|
|
|
- ->addVolumes("./extra/netmiko", "/opt/netmiko")
|
|
|
- ->addVolumes("./extra/backups-config", "/opt/ftth/web/backups-config");
|
|
|
+ ->addVolumes("./extra/netmiko", "/opt/netmiko")
|
|
|
+ ->addVolumes("./extra/backups-config", "/opt/ftth/web/backups-config");
|
|
|
|
|
|
$this->addBuild($module, $composer);
|
|
|
|
|
@@ -864,8 +864,8 @@ class Release extends Command
|
|
|
->addEnv_file("ftth.host.env")
|
|
|
->addEnviroment("AMQP_KEY", "ftth")
|
|
|
->addVolumes("./ftth/", "/opt/ftth")
|
|
|
- ->addVolumes("./extra/netmiko", "/opt/netmiko")
|
|
|
- ->addVolumes("./extra/backups-config", "/opt/ftth/web/backups-config");
|
|
|
+ ->addVolumes("./extra/netmiko", "/opt/netmiko")
|
|
|
+ ->addVolumes("./extra/backups-config", "/opt/ftth/web/backups-config");
|
|
|
|
|
|
$composer
|
|
|
->addService("cablemodem_tasklogger_worker")
|
|
@@ -971,7 +971,13 @@ class Release extends Command
|
|
|
->restart($this->_docker_restart_default)
|
|
|
->addEnv_file("running.env")
|
|
|
->addEnv_file("host.env")
|
|
|
+ ->addEnv_file($module . "." . $host_env_file)
|
|
|
;
|
|
|
+ $this->writeVariablesEnviroment($module . "." . $host_env_file, $module,
|
|
|
+ array(
|
|
|
+ "MYSQL_ROOT_PASSWORD" => $this->_mysql_root_pass,
|
|
|
+ "MYSQL_USER" => $this->_mysql_user,
|
|
|
+ ));
|
|
|
}
|
|
|
|
|
|
/**
|