mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-19 18:15:31 +00:00
wip: mongodb backup
This commit is contained in:
1 parent
53f5674771
commit
11bd46b200
8 files changed
+121
-50
No files matched your search
@@ -55,6 +55,13 @@ class StandaloneRedis extends BaseModel
|
||||
{
|
||||
return 'standalone-redis';
|
||||
}
|
||||
public function getDbUrl(): string {
|
||||
if ($this->is_public) {
|
||||
return "redis://:{$this->redis_password}@{$this->destination->server->getIp}:{$this->public_port}/0";
|
||||
} else {
|
||||
return "redis://:{$this->redis_password}@{$this->uuid}:6379/0";
|
||||
}
|
||||
}
|
||||
|
||||
public function environment()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user