-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (49 loc) · 1.09 KB
/
docker-compose.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
39
40
41
42
43
44
45
46
47
48
49
50
version: '3'
services:
# database-server:
# image: couchbase:latest
# ports:
# - 8091:8091
config-server:
build:
context: ./service.config
dockerfile: Dockerfile
volumes:
- ./service.config:/usr/src/app
- /usr/src/app/node_modules
ports:
- 5000:3000
house-registry:
build:
context: ./service.house.registry
dockerfile: Dockerfile
volumes:
- ./service.house.registry:/usr/src/app
- /usr/src/app/node_modules
ports:
- 5001:3001
depends_on:
- config-server
tenant-registry:
build:
context: ./service.tenant.registry
dockerfile: Dockerfile
volumes:
- ./service.tenant.registry:/usr/src/app
- /usr/src/app/node_modules
ports:
- 5002:8000
depends_on:
- house-registry
- config-server
landlord-registry:
build:
context: ./service.landlord.registry
dockerfile: Dockerfile
volumes:
- ./service.landlord.registry:/usr/src/app
- /usr/src/app/node_modules
ports:
- 5003:5003
depends_on:
- config-server