🐳 Added mongo container and fixed an ENV var

This commit is contained in:
2021-09-01 09:06:20 -07:00
parent cc8d3febdb
commit 762b5cb037
3 changed files with 14 additions and 4 deletions

View File

@@ -58,6 +58,7 @@ services:
env_file: threetwo-import-service.env
depends_on:
- nats
- mongodb
networks:
- proxy
@@ -65,7 +66,10 @@ services:
build:
context: https://github.com/rishighan/threetwo-import-service.git
image: frishi/threetwo-import-service
container_name: import
container_name: import
depends_on:
- mongodb
- nats
environment:
SERVICES: import
env_file: threetwo-import-service.env
@@ -76,7 +80,10 @@ services:
build:
context: https://github.com/rishighan/threetwo-import-service.git
image: frishi/threetwo-import-service
container_name: image-transformation
container_name: image-transformation
depends_on:
- mongodb
- nats
environment:
SERVICES: imagetransformation
env_file: threetwo-import-service.env
@@ -85,7 +92,7 @@ services:
mongodb:
image: 'bitnami/mongodb:latest'
container_name: mongodb
container_name: db
networks:
- proxy
ports: