Skip to content

Commit

Permalink
invoke docker run to set up mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 7, 2023
1 parent da04342 commit 2009934
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: setup_mongodb
uses: DigiPie/[email protected]
with:
mongodb-uri: mongodb://localhost:27017
mongodb-database: nmdc
mongodb-username: root
mongodb-password: password
run: |
sudo docker run --rm --detach --name mongodb --publish 27017:27017 --env MONGO_INITDB_ROOT_USERNAME=root --env MONGO_INITDB_ROOT_PASSWORD=password --env MONGO_INITDB_DATABASE=nmdc mongo:latest
# uses: DigiPie/[email protected]
# with:
# mongodb-uri: mongodb://localhost:27017
# mongodb-database: nmdc
# mongodb-username: root
# mongodb-password: password
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit 2009934

Please sign in to comment.