mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #6601 from nextcloud/enh/6564/add-label-to-all-containers
CreateContainers: add `"com.centurylinklabs.watchtower.enable": "false"` to all managed containers
This commit is contained in:
commit
1a43bfdc95
1 changed files with 3 additions and 0 deletions
|
|
@ -584,6 +584,9 @@ readonly class DockerActionManager {
|
||||||
$requestBody['HostConfig']['Mounts'] = $mounts;
|
$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
|
// Containers should have a fixed host name. See https://github.com/nextcloud/all-in-one/discussions/6589
|
||||||
$requestBody['Hostname'] = $container->GetIdentifier();
|
$requestBody['Hostname'] = $container->GetIdentifier();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue