|
@@ -428,7 +428,9 @@ class Release extends Command
|
|
->addEnv_file($host_env_file)
|
|
->addEnv_file($host_env_file)
|
|
->addEnv_file($module . "." . $host_env_file)
|
|
->addEnv_file($module . "." . $host_env_file)
|
|
->addEnv_file($module . ".oauth.env")
|
|
->addEnv_file($module . ".oauth.env")
|
|
- ->addVolumes("./$module/", "/opt/" . $module);
|
|
|
|
|
|
+ ->addVolumes("./$module/", "/opt/" . $module)
|
|
|
|
+ ->addVolumes("./extra/netmiko", "/opt/netmiko")
|
|
|
|
+ ->addVolumes("./extra/backups-config", "/opt/ftth/web/backups-config");
|
|
|
|
|
|
$this->addBuild($module, $composer);
|
|
$this->addBuild($module, $composer);
|
|
|
|
|
|
@@ -861,7 +863,9 @@ class Release extends Command
|
|
->addEnv_file("host.env")
|
|
->addEnv_file("host.env")
|
|
->addEnv_file("ftth.host.env")
|
|
->addEnv_file("ftth.host.env")
|
|
->addEnviroment("AMQP_KEY", "ftth")
|
|
->addEnviroment("AMQP_KEY", "ftth")
|
|
- ->addVolumes("./ftth/", "/opt/ftth");
|
|
|
|
|
|
+ ->addVolumes("./ftth/", "/opt/ftth")
|
|
|
|
+ ->addVolumes("./extra/netmiko", "/opt/netmiko")
|
|
|
|
+ ->addVolumes("./extra/backups-config", "/opt/ftth/web/backups-config");
|
|
|
|
|
|
$composer
|
|
$composer
|
|
->addService("cablemodem_tasklogger_worker")
|
|
->addService("cablemodem_tasklogger_worker")
|