Skip to content

Commit

Permalink
fix healtcheck syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Dec 11, 2024
1 parent 283ad4a commit d64fbe5
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions apps/teddit/docker-compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,9 @@
"REDIRECT_HTTP_TO_HTTPS": "false",
"REDIRECT_WWW": "false"
},
"dependsOn": [
"teddit-redis"
],
"dependsOn": ["teddit-redis"],
"healthCheck": {
"test": [
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8080/about"
],
"test": ["wget --no-verbose --tries=1 --spider http://localhost:8080/about"],
"interval": "1m",
"timeout": "3s",
"retries": 3
Expand All @@ -40,11 +31,7 @@
}
],
"healthCheck": {
"test": [
"CMD",
"redis-cli",
"ping"
],
"test": ["redis-cli ping"],
"interval": "1s",
"timeout": "3s",
"retries": 30
Expand Down

0 comments on commit d64fbe5

Please sign in to comment.