mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
CreateContainer: Also add diun.enable: false to all managed containers
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
61ed785c72
commit
aeb133e86c
1 changed files with 2 additions and 1 deletions
|
|
@ -585,7 +585,8 @@ readonly class DockerActionManager {
|
|||
}
|
||||
|
||||
// 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"];
|
||||
// Also DIUN should not send update notifications. See https://crazymax.dev/diun/providers/docker/#docker-labels
|
||||
$requestBody['Labels'] = ["com.centurylinklabs.watchtower.enable" => "false", "diun.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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue