Explorar el Código

同步新的代码仓库

ccf hace 4 años
padre
commit
67c562b0fd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      command/Start.php

+ 1 - 1
command/Start.php

@@ -192,7 +192,7 @@ class Start
             system("sudo cp -f {$directory}/config/logrotate.conf /etc/logrotate.d/{$name}");
             // 写入项目变量 Found orphan containers
             file_put_contents($directory . '/config/.env', "COMPOSE_PROJECT_NAME={$name}");
-            file_put_contents($directory . '/.env', file_get_contents("../proginn_service/.env"));
+            //file_put_contents($directory . '/.env', file_get_contents("../proginn_service/.env"));
             // 启动容器
             system("docker-compose -p {$name} -f {$directory}/config/docker.yml up -d");
             // 重载Nginx