From 303a2cd54bdfcaa2c4474d608414b248637db24d Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Fri, 15 Oct 2021 23:09:32 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Edited=20name=20of=20the?= =?UTF-8?q?=20db=20service=20in=20docker-compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 3 ++- docker-env/threetwo-import-service.env | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ae2e1eb..f7a19c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,7 @@ services: - "8051:8051" depends_on: - rabbitmq + - db - nginx - importapi - import @@ -103,7 +104,7 @@ services: networks: - proxy - mongodb: + db: image: 'bitnami/mongodb:latest' container_name: database networks: diff --git a/docker-env/threetwo-import-service.env b/docker-env/threetwo-import-service.env index 0d75170..48e6c75 100644 --- a/docker-env/threetwo-import-service.env +++ b/docker-env/threetwo-import-service.env @@ -1,7 +1,7 @@ LOGGER=true LOGLEVEL=info SERVICEDIR=dist/services -MONGO_URI=mongodb://mongodb:27017/threetwo +MONGO_URI=mongodb://db:27017/threetwo TRANSPORTER=nats://nats:4222 CALIBRE_PATH=/opt/calibre CACHER=Memory