-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
65 lines (58 loc) · 1.13 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3'
services:
backend_webserver:
build: ./webserver
volumes:
- ./webserver:/usr/src/app
ports:
- "80:80"
networks:
app-network:
ipv4_address: 172.30.0.10
container_name: webserver
depends_on:
- ngrok
listener:
build: ./listener
volumes:
- ./listener:/usr/src/app
ports:
- "29171:29171"
networks:
app-network:
ipv4_address: 172.30.0.15
container_name: listener
database:
image: mongo
ports:
- "27017:27017"
networks:
app-network:
ipv4_address: 172.30.0.20
container_name: database
ngrok:
build: ./ngrok
ports:
- "32776:4040"
- "32778:80"
networks:
app-network:
ipv4_address: 172.30.0.30
container_name: ngrok
cmxsim:
build: ./CMXSimulator
volumes:
- ./CMXSimulator:/usr/src/app
ports:
- "32780:80"
networks:
app-network:
ipv4_address: 172.30.0.40
container_name: cmxsim
networks:
app-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.30.0.0/16