Explorar o código

fix project name

lushuncheng %!s(int64=6) %!d(string=hai) anos
pai
achega
3347e5c4b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      command/Start.php

+ 1 - 1
command/Start.php

@@ -135,7 +135,7 @@ class Start
             $log = str_replace('{{containerName}}', $name, $log);
             file_put_contents($directory . '/config/logrotate.conf', $log);
             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}");
             // 启动容器
             system("docker-compose -p {$name} -f {$directory}/config/docker.yml up -d");