mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 08:15:24 +00:00
updates
This commit is contained in:
1 parent
6e72889294
commit
0f50d1accd
36 files changed
+715
-273
No files matched your search
@@ -38,3 +38,12 @@ function get_container_status(Server $server, string $container_id, bool $throwE
|
||||
$container = format_docker_command_output_to_json($container);
|
||||
return $container[0]['Status'];
|
||||
}
|
||||
|
||||
function generate_container_name(string $uuid, int|null $pull_request_id = null)
|
||||
{
|
||||
if ($pull_request_id) {
|
||||
return $uuid . '_pr_' . $pull_request_id;
|
||||
} else {
|
||||
return $uuid;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user