Skip to content

healthcheck added for #3061#3123

Closed
wdhif wants to merge 1 commit intogoharbor:masterfrom
wdhif:healthcheck
Closed

healthcheck added for #3061#3123
wdhif wants to merge 1 commit intogoharbor:masterfrom
wdhif:healthcheck

Conversation

@wdhif
Copy link
Copy Markdown
Contributor

@wdhif wdhif commented Aug 25, 2017

Healthcheck added as described in #3061 for :

  • vmware/registry
  • vmware/nginx-photon
  • vmware/harbor-adminserver
  • vmware/harbor-ui
  • vmware/harbor-jobservice

It might be better to wait for harbor-db (since it's a mysql image it doesn't have curl) and harbor-log use rsyslog, which is UDP so I cant't use curl.

- vmware/registry
- vmware/nginx-photon
- vmware/harbor-adminserver
- vmware/harbor-ui
- vmware/harbor-jobservice
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 54.8% when pulling 537f017 on wdhif:healthcheck into 0659ede on vmware:master.

@wdhif
Copy link
Copy Markdown
Contributor Author

wdhif commented Sep 18, 2017

We maybe want to wait for #2492


ENV PORT 5000
EXPOSE 5000
HEALTHCHECK CMD curl http://localhost:$PORT/v2 || exit 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you don' t need the env "PORT", just use 5000 instead.

@reasonerjt
Copy link
Copy Markdown
Contributor

Closing this PR as the requirement has been addressed in other PRs.

@reasonerjt reasonerjt closed this Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants