mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
CreateContainers: add "com.centurylinklabs.watchtower.enable": "false" to all managed containers
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -584,6 +584,9 @@ readonly class DockerActionManager {
|
||||
$requestBody['HostConfig']['Mounts'] = $mounts;
|
||||
}
|
||||
|
||||
// All AIO-managed containers should not be updated externally via watchtower but gracefully by AIO's backup and update feature.
|
||||
$requestBody['Labels'] = ["com.centurylinklabs.watchtower.enable" => "false", "org.label-schema.vendor" => "Nextcloud"];
|
||||
|
||||
// Containers should have a fixed host name. See https://github.com/nextcloud/all-in-one/discussions/6589
|
||||
$requestBody['Hostname'] = $container->GetIdentifier();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user