Skip to content

Commit

Permalink
docker update 4
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsnoopy committed Oct 26, 2024
1 parent 13130f2 commit 10dbde2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/daily_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:

services:
mongodb:
image: mongo:latest
image: mongo:5.0
ports:
- 27017:27017
options: >-
--health-cmd "mongo --eval 'db.runCommand({ ping: 1 })'"
--health-interval 10s
--health-timeout 5s
--health-retries 3
# options: >-
# --health-cmd "mongo --eval 'db.runCommand({ ping: 1 })'"
# --health-interval 10s
# --health-timeout 5s
# --health-retries 3

steps:
# Step 1: Checkout the repository
Expand Down

0 comments on commit 10dbde2

Please sign in to comment.