浏览代码

Arreglos del api del webserver simple

gabriel 6 年之前
父节点
当前提交
6aa25d9c31
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tools/src/Release.php

+ 3 - 3
tools/src/Release.php

@@ -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")