|
@@ -632,7 +632,7 @@ class Release extends Command
|
|
|
->addService($module)
|
|
|
->image($registry . "fd3/$module:" . $version)
|
|
|
->restart($this->_docker_restart_default)
|
|
|
- ->build("./extra/api/")
|
|
|
+ ->build("./extra/" . $module)
|
|
|
->addLinks('nginx:base.fd3.flowdat.com')
|
|
|
->addLinks('nginx:cablemodem.fd3.flowdat.com')
|
|
|
->addLinks('nginx:ftth.fd3.flowdat.com')
|
|
@@ -640,7 +640,7 @@ class Release extends Command
|
|
|
->addEnv_file("running.env")
|
|
|
->addEnv_file($host_env_file)
|
|
|
->addEnv_file($module . "." . $host_env_file)
|
|
|
- ->addVolumes("./$module/", "/opt/$module");
|
|
|
+ ->addVolumes("./extra/$module/", "/opt/$module");
|
|
|
$this->addBuild($module, $composer);
|
|
|
|
|
|
$this->writeVariablesEnviroment($module . "." . $host_env_file, $module);
|
|
@@ -669,7 +669,7 @@ class Release extends Command
|
|
|
->addVolumes("./cablemodem/", "/opt/cablemodem")
|
|
|
->addVolumes("./dhcp/", "/opt/dhcp")
|
|
|
->addVolumes("./grafana/", "/opt/grafana")
|
|
|
- ->addVolumes('./api/', '/opt/api')
|
|
|
+ ->addVolumes('./extra/api/', '/opt/api')
|
|
|
->addVolumes("/var/run/docker.sock", "/tmp/docker.sock:ro")
|
|
|
->addVolumes("./extra/nginx/certs", "/etc/nginx/certs:ro")
|
|
|
->addVolumes("./extra/nginx/conf.d", "/etc/nginx/conf.d")
|