Skip to content

Commit

Permalink
feat: add mongo checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolg committed Oct 28, 2023
1 parent 7a960e6 commit 0c66a53
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
ENVIRONMENT: ci

services:
mongo:
image: mongo
options: >-
--health-cmd "echo 'db.stats().ok' | mongo localhost:27017/hodor --quiet"
--health-interval 10s
--health-timeout 10s
--health-retries 10
ports:
- 27017:27017

redis:
image: redis
options: >-
Expand Down

0 comments on commit 0c66a53

Please sign in to comment.