mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
wip: services
This commit is contained in:
1 parent
301469de6b
commit
6b75ff7de4
29 files changed
+632
-427
No files matched your search
@@ -21,9 +21,9 @@ class StandaloneDocker extends BaseModel
|
||||
return $this->belongsTo(Server::class);
|
||||
}
|
||||
|
||||
public function service()
|
||||
public function services()
|
||||
{
|
||||
return $this->belongsTo(Service::class, 'destination');
|
||||
return $this->morphMany(Service::class, 'destination');
|
||||
}
|
||||
|
||||
public function attachedTo()
|
||||
|
||||
Reference in new issue
Block a user