diff --git a/ansible/inventory/group_vars/all.yml b/ansible/inventory/group_vars/all.yml index 086f863..538b972 100644 --- a/ansible/inventory/group_vars/all.yml +++ b/ansible/inventory/group_vars/all.yml @@ -25,6 +25,9 @@ docker_users: # Application deployment app_root: /opt/ttlsh +# UTC window during which Zot may start its daily garbage-collection sweep. +zot_gc_time_window: "00:00-03:00" + # S3-compatible object storage backing the zot registry s3_bucket: "_in_doppler" s3_region: "_in_doppler" diff --git a/ansible/templates/zot-config.json.j2 b/ansible/templates/zot-config.json.j2 index 7774804..c93415e 100644 --- a/ansible/templates/zot-config.json.j2 +++ b/ansible/templates/zot-config.json.j2 @@ -5,6 +5,7 @@ "redirectBlobURL": true, "dedupe": false, "gc": true, + "gcTimeWindow": "{{ zot_gc_time_window }}", "storageDriver": { "name": "s3", "rootdirectory": "{{ s3_root_directory }}",