fix: coolify already exists should not throw error

This commit is contained in:
Andras Bacsai 2023-09-08 18:40:25 +02:00
parent 45b597bbab
commit 929a4e6474

View File

@ -40,7 +40,7 @@ public function __invoke(Server $server, Team $team)
"echo ####### Restarting Docker Engine...", "echo ####### Restarting Docker Engine...",
"systemctl restart docker", "systemctl restart docker",
"echo ####### Creating default network...", "echo ####### Creating default network...",
"docker network create --attachable coolify", "docker network create --attachable coolify >/dev/null 2>&1 || true",
"echo ####### Done!" "echo ####### Done!"
], $server); ], $server);
$found = StandaloneDocker::where('server_id', $server->id); $found = StandaloneDocker::where('server_id', $server->id);