refactor: Update docker network creation in ApplicationDeploymentJob
This commit is contained in:
parent
b3800fc42e
commit
9248be2177
@ -425,7 +425,7 @@ private function deploy_docker_compose_buildpack()
|
||||
// TODO
|
||||
} else {
|
||||
$this->execute_remote_command([
|
||||
"docker network create --attachable '{$networkId}' >/dev/null || true", "hidden" => true, "ignore_errors" => true
|
||||
"docker network inspect '{$networkId}' >/dev/null 2>&1 || docker network create --attachable '{$networkId}' >/dev/null || true", "hidden" => true, "ignore_errors" => true
|
||||
], [
|
||||
"docker network connect {$networkId} coolify-proxy || true", "hidden" => true, "ignore_errors" => true
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user