From fb019ad2905b61c1f821f91ecb05aa59f358c413 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Thu, 6 Jul 2023 17:38:17 +0200 Subject: [PATCH] Add env to npm.sh so it can connect to db --- npm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/npm.sh b/npm.sh index f1e3362..04b858b 100755 --- a/npm.sh +++ b/npm.sh @@ -6,5 +6,7 @@ docker-compose run \ --rm \ --service-ports \ + -e "SEALIOUS_MONGO_PORT=27017" \ + -e "SEALIOUS_MONGO_HOST=db" \ test \ npm "$@"