From 5b443c4846d0ebc7d925fea9c2531594dc387bce Mon Sep 17 00:00:00 2001 From: Olivier Date: Tue, 12 Dec 2023 21:16:28 +0100 Subject: [PATCH] Ajouter conf/registry/config.yml --- conf/registry/config.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 conf/registry/config.yml diff --git a/conf/registry/config.yml b/conf/registry/config.yml new file mode 100644 index 0000000..71daa4c --- /dev/null +++ b/conf/registry/config.yml @@ -0,0 +1,36 @@ +version: 0.1 +log: + level: info + fields: + service: registry +storage: + cache: + layerinfo: redis + filesystem: + rootdirectory: /storage + maintenance: + uploadpurging: + enabled: false + delete: + enabled: true +redis: + addr: harbor-redis:6379 + password: + db: 1 +http: + addr: :5000 + secret: placeholder + debug: + addr: localhost:5001 +auth: + htpasswd: + realm: harbor-registry-basic-realm + path: /etc/registry/passwd +notifications: + endpoints: + - name: harbor + disabled: false + url: http://harbor-core:8080/service/notifications + timeout: 3000ms + threshold: 5 + backoff: 1s