mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +00:00
aio-caddy: change to v3 and further adjustments
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
bf1df2f72e
commit
2d4d9d76d6
6 changed files with 22 additions and 2 deletions
|
|
@ -569,6 +569,15 @@ class ConfigurationManager
|
|||
return $this->GetEnvironmentalVariableOrConfig($envVariableName, $configName, $defaultValue);
|
||||
}
|
||||
|
||||
public function GetTurnDomain() : string {
|
||||
$config = $this->GetConfig();
|
||||
if(!isset($config['turn_domain'])) {
|
||||
$config['turn_domain'] = '';
|
||||
}
|
||||
|
||||
return $config['turn_domain'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws InvalidSettingConfigurationException
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -283,6 +283,10 @@ readonly class DockerActionManager {
|
|||
}
|
||||
} else if ($port === '%TALK_PORT%') {
|
||||
$port = $this->configurationManager->GetTalkPort();
|
||||
// Skip publishing talk port if it is set to the same value like the apache port
|
||||
if ($port === $this->configurationManager->GetApachePort()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$ipBinding = $value->ipBinding;
|
||||
if ($ipBinding === '%APACHE_IP_BINDING%') {
|
||||
|
|
@ -538,6 +542,7 @@ readonly class DockerActionManager {
|
|||
'RESTORE_EXCLUDE_PREVIEWS' => $this->configurationManager->GetRestoreExcludePreviews(),
|
||||
'APACHE_PORT' => $this->configurationManager->GetApachePort(),
|
||||
'TALK_PORT' => $this->configurationManager->GetTalkPort(),
|
||||
'TURN_DOMAIN' => $this->configurationManager->GetTurnDomain(),
|
||||
'NEXTCLOUD_MOUNT' => $this->configurationManager->GetNextcloudMount(),
|
||||
'BACKUP_RESTORE_PASSWORD' => $this->configurationManager->GetBorgRestorePassword(),
|
||||
'CLAMAV_ENABLED' => $this->configurationManager->isClamavEnabled() ? 'yes' : '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue