mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Remove registry notification and change /api/ping
Update config.yaml.jinja to remove notification Change api/ping in core/Dockerfile Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
parent
aa71fc43cf
commit
6005101c95
@ -1,7 +1,7 @@
|
||||
ARG harbor_base_image_version
|
||||
FROM goharbor/harbor-core-base:${harbor_base_image_version}
|
||||
|
||||
HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080/api/ping || exit 1
|
||||
HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080/api/v2.0/ping || exit 1
|
||||
COPY ./make/photon/core/harbor_core /harbor/
|
||||
COPY ./src/core/views /harbor/views
|
||||
COPY ./make/migrations /harbor/migrations
|
||||
|
@ -31,24 +31,6 @@ auth:
|
||||
path: /etc/registry/passwd
|
||||
validation:
|
||||
disabled: true
|
||||
notifications:
|
||||
endpoints:
|
||||
- name: harbor
|
||||
disabled: false
|
||||
url: {{core_url}}/service/notifications
|
||||
timeout: 3000ms
|
||||
threshold: 5
|
||||
backoff: 1s
|
||||
ignoredmediatypes:
|
||||
- application/vnd.docker.image.rootfs.diff.tar.gzip
|
||||
- application/vnd.docker.image.rootfs.foreign.diff.tar.gzip
|
||||
- application/vnd.oci.image.layer.v1.tar
|
||||
- application/vnd.oci.image.layer.v1.tar+gzip
|
||||
- application/vnd.oci.image.layer.v1.tar+zstd
|
||||
- application/vnd.oci.image.layer.nondistributable.v1.tar
|
||||
- application/vnd.oci.image.layer.nondistributable.v1.tar+gzip
|
||||
- application/vnd.oci.image.layer.nondistributable.v1.tar+zstd
|
||||
- application/octet-stream
|
||||
compatibility:
|
||||
schema1:
|
||||
enabled: true
|
Loading…
Reference in New Issue
Block a user