-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
52 lines (51 loc) · 1.07 KB
/
docker-compose.dev.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
51
52
version: '3'
services:
apigateway:
build:
context: ./apigateway
dockerfile: ../Dockerfile.app
command: node --inspect=0.0.0.0:9002 ./server.js
volumes:
- ./apigateway:/app
ports:
- 2000:2000
- 9002:9002
users:
build:
context: ./users
dockerfile: ../Dockerfile.app
command: node --inspect=0.0.0.0:9003 ./src/server.js
volumes:
- ./users:/app
ports:
- 3000:3000
- 9003:9003
polls:
build:
context: ./polls
dockerfile: ../Dockerfile.app
command: node --inspect=0.0.0.0:9004 ./src/server.js
volumes:
- ./polls:/app
ports:
- 4000:4000
- 9004:9004
authentication:
build:
context: ./authentication
dockerfile: ../Dockerfile.app
command: node --inspect=0.0.0.0:9005 ./server.js
volumes:
- ./authentication:/app
ports:
- 5000:5000
- 9005:9005
web:
build:
context: ./web
dockerfile: Dockerfile
command: http-server -p 7000 dist
volumes:
- ./web:/app
ports:
- 7000:7000