Skip to content

Commit

Permalink
fix: prometheus health check
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Jun 3, 2024
1 parent 96615a7 commit 1e00ed2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ services:
networks:
- opi
healthcheck:
test: ["CMD", "wget", "http://localhost:9090"]
test: wget --no-verbose --tries=1 --spider http://localhost:9090 || exit 1
interval: 6s
timeout: 10s
retries: 5

volumes:
influxdb-storage:
Expand Down

0 comments on commit 1e00ed2

Please sign in to comment.