mirror of
https://github.com/goharbor/harbor.git
synced 2025-03-01 18:21:20 +01:00
Merge pull request #10821 from stonezdj/20200224_remove_notification
Remove registry notification and change core health check url
This commit is contained in:
commit
a7e5873f46
@ -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