Skip to content

Commit

Permalink
fix(artifact): modify healthy check request (#1003)
Browse files Browse the repository at this point in the history
Because

wrong health check, docker compose fails in healthcheck of artifact
backend

This commit

using `cur`l to send `GET` method instead of `HEAD` method from `wget`
  • Loading branch information
Yougigun authored May 28, 2024
1 parent ffb7b5b commit c4225aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ dev

# Python
__pycache__

# Macbook
.DS_Store
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ services:
test:
[
"CMD-SHELL",
"wget --no-verbose --tries=1 --spider http://${ARTIFACT_BACKEND_HOST}:${ARTIFACT_BACKEND_PUBLICPORT}/v1alpha/health/artifact",
"curl -f http://${ARTIFACT_BACKEND_HOST}:${ARTIFACT_BACKEND_PUBLICPORT}/v1alpha/health/artifact",
]
start_period: 20s
interval: 30s
Expand Down

0 comments on commit c4225aa

Please sign in to comment.