mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 14:14:52 +00:00
Refactor server and docker cleanup jobs
This commit is contained in:
1 parent
fb42c43953
commit
2b666ff121
6 files changed
+42
-39
No files matched your search
@@ -36,7 +36,7 @@ class ServiceDatabase extends BaseModel
|
||||
{
|
||||
$port = $this->public_port;
|
||||
$realIp = $this->service->server->ip;
|
||||
if ($realIp === 'host.docker.internal' || isDev()) {
|
||||
if ($this->service->server->isLocalhost() || isDev()) {
|
||||
$realIp = base_ip();
|
||||
}
|
||||
$url = "{$realIp}:{$port}";
|
||||
|
||||
Reference in new issue
Block a user