forked from microrealestate/microrealestate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.microservices.test.yml
38 lines (38 loc) · 1.17 KB
/
docker-compose.microservices.test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "3.3"
services:
###############################################################################
# Gateway
###############################################################################
gateway:
environment:
- RESETSERVICE_URL=$RESETSERVICE_URL
depends_on:
- resetservice
###############################################################################
# ResetService
###############################################################################
resetservice:
build:
context: .
dockerfile: services/resetservice/dev.Dockerfile
environment:
- NODE_ENV
- PORT=$RESETSERVICE_PORT
- LOGGER_LEVEL=$LOGGER_LEVEL
- TOKEN_DB_URL=$AUTHENTICATOR_TOKEN_DB_URL
- TOKEN_DB_PASSWORD=$AUTHENTICATOR_TOKEN_DB_PASSWORD
- MONGO_URL=$BASE_DB_URL
volumes:
- ./services/common:/usr/app/services/common
- ./services/resetservice:/usr/app/services/resetservice
- /usr/app/node_modules
- /usr/app/services/resetservice/node_modules
expose:
- "$RESETSERVICE_PORT"
ports:
- "$RESETSERVICE_DEBUG_PORT:9230"
networks:
- net
depends_on:
- redis
- mongo