Skip to content

Commit

Permalink
fix healthcheck syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot-Enguerrand authored Dec 11, 2024
1 parent d64fbe5 commit cec4926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/teddit/docker-compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependsOn": ["teddit-redis"],
"healthCheck": {
"test": ["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 @@ -31,7 +31,7 @@
}
],
"healthCheck": {
"test": ["redis-cli ping"],
"test": "redis-cli ping",
"interval": "1s",
"timeout": "3s",
"retries": 30
Expand Down

0 comments on commit cec4926

Please sign in to comment.