From 1c17e71d95fba90db0419d31faa3c03a8a2c2ced Mon Sep 17 00:00:00 2001 From: Michael Thornton Date: Thu, 7 Dec 2023 09:40:42 -0800 Subject: [PATCH] add mongo env values --- .github/workflows/blt.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/blt.yml b/.github/workflows/blt.yml index fb8794ef..3e3cecea 100644 --- a/.github/workflows/blt.yml +++ b/.github/workflows/blt.yml @@ -34,6 +34,11 @@ jobs: services: mongodb: image: mongo + env: + MONGO_INITDB_ROOT_USERNAME: root + MONGO_INITDB_ROOT_PASSWORD: password + MONGO_INITDB_DATABASE: nmdc + MONGO_HOST: localhost ports: - 27017:27017 options: --health-cmd "mongo --version" --health-interval 10s --health-timeout 5s --health-retries 12