Skip to content

Commit

Permalink
set username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 7, 2023
1 parent 2009934 commit 8e86360
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
- uses: actions/checkout@v3
- name: setup_mongodb
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
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 --env MONGO_USERNAME=root --env MONGO_PASSWORD=password \
mongo:latest
# uses: DigiPie/[email protected]
# with:
# mongodb-uri: mongodb://localhost:27017
Expand Down

0 comments on commit 8e86360

Please sign in to comment.