Browse Source

Merged in FD3-385 (pull request #25)

FD3-385 Volumes freeradius service
Guillermo Espinoza 7 năm trước cách đây
mục cha
commit
fa49e4b976
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      tools/src/Release.php

+ 6 - 1
tools/src/Release.php

@@ -652,7 +652,12 @@ class Release extends Command
             ->addPorts("1813:1813/udp")
             ->addPorts("1813:1813/udp")
             ->addPorts("3799:3799/udp")
             ->addPorts("3799:3799/udp")
             ->addEnv_file("mysql." . $host_env_file)
             ->addEnv_file("mysql." . $host_env_file)
-            ->addEnv_file($module . "." . $host_env_file);
+            ->addEnv_file($module . "." . $host_env_file)
+            ->addVolumes("./extra/freeradius/wsdl/code/", "/var/www/html/")
+            ->addVolumes("./extra/freeradius/etc/cron.d", "/etc/cron.d")
+            ->addVolumes("./extra/freeradius/etc/freeradius", "/etc/freeradius")
+            ->addVolumes("./extra/freeradius/etc/supervisor/conf.d", "/etc/supervisor/conf.d")
+            ;
         $this->writeVariablesEnviroment($module . "." . $host_env_file, $module,
         $this->writeVariablesEnviroment($module . "." . $host_env_file, $module,
             array(
             array(
                 "MYSQL_HOST" => "mysql",
                 "MYSQL_HOST" => "mysql",