Skip to content

Commit

Permalink
add redis health check (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur authored Jan 21, 2024
1 parent a4add99 commit 2db114d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/setup/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ services:
command: worker
redis:
image: redis:6
healthcheck:
test: redis-cli --raw incr ping
interval: 5s
timeout: 10s
retries: 5
start_period: 10s
db:
image: postgres:16.1
volumes:
Expand Down

0 comments on commit 2db114d

Please sign in to comment.