Skip to content

Commit

Permalink
chore: Add health check to Dice service in Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
vinitparekh17 committed Oct 4, 2024
1 parent 7cf9976 commit 26160fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ services:
image: dicedb/dicedb:latest
ports:
- "7379"
healthcheck:
test: ["CMD", "PING"]
interval: 10s
timeout: 3s
retries: 3
networks:
- dice-network

Expand Down

0 comments on commit 26160fc

Please sign in to comment.