mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-27 07:13:20 +08:00
add AIO_DATABASE_HOST
Allow to get local ip-address of database container which allows to talk to it even in host mode (the container that requires this needs to be started first then) Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b2ca0b0e22
commit
1937fde61d
1 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,9 @@ class DockerActionManager
|
|||
} else {
|
||||
$replacements[1] = '';
|
||||
}
|
||||
// Allow to get local ip-address of database container which allows to talk to it even in host mode (the container that requires this needs to be started first then)
|
||||
} elseif ($out[1] === 'AIO_DATABASE_HOST') {
|
||||
$replacements[1] = gethostbyname('nextcloud-aio-database');
|
||||
} else {
|
||||
$secret = $this->configurationManager->GetSecret($out[1]);
|
||||
if ($secret === "") {
|
||||
|
|
Loading…
Reference in a new issue