Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kiberdruzhinnik committed Mar 3, 2024
1 parent 29147b3 commit 8d84a3d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ services:
image: redis:7-alpine
volumes:
- redis:/data
healthcheck:
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s

exchange-api:
image: kotasha/go-exchange-api:latest
Expand All @@ -35,9 +41,15 @@ services:
- 8080:8080/tcp
depends_on:
- redis-cache
healthcheck:
test: [ "CMD-SHELL", "./healthcheck" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s

volumes:
redis:
redis:
```
## Как проверить
Expand Down

0 comments on commit 8d84a3d

Please sign in to comment.