Skip to content

Commit

Permalink
#22: fix: change MongoDB healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ReznikovRoman committed Jul 10, 2022
1 parent c64b6a6 commit c2a28bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ jobs:
ports:
- 27017:27017
options: >-
--health-cmd "echo 'db.runCommand("ping").ok' | mongo mongodb:27017/ugc_test --quiet || exit 1"
--health-cmd "echo 'db.runCommand("ping").ok' | mongo mongodb:27017/test --quiet || exit 1"
--health-interval 10s
--health-timeout 10s
--health-retries 5
--health-start_period 20s
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
Expand Down

0 comments on commit c2a28bd

Please sign in to comment.