Skip to content

Commit

Permalink
set mongo env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 7, 2023
1 parent f3f90d3 commit fcd31a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
- uses: actions/checkout@v3
- name: setup_mongodb
run: |
sudo docker run --rm --detach --name mongodb --publish 27017:27017 mongo:latest --auth
# --env MONGO_INITDB_ROOT_USERNAME=root --env MONGO_INITDB_ROOT_PASSWORD=password \
# --env MONGO_INITDB_DATABASE=nmdc \
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:
Expand Down

0 comments on commit fcd31a5

Please sign in to comment.