-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
90 lines (83 loc) · 1.6 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
services:
db:
image: localhost:5000/mysql:latest
ports:
- "3306:3306"
- "33060:33060"
volumes:
- /home/prince/db:/var/lib/mysql
net: IC2
ip: 172.18.0.2
phpmyadmin:
image: localhost:5000/phpmyadmin:latest
ports:
- "8080:80"
- "33060:33060"
volumes:
- /home/prince/db:/var/lib/mysql
links:
- db
depends_on:
- db
net: IC2
ip: 172.18.0.3
doctor:
image: localhost:5000/ic2_doctor:latest
net: IC2
ip: 172.18.0.4
ports:
- "3005:8080"
links:
- db
depends_on:
- db
auth:
image: localhost:5000/ic2_auth:latest
net: IC2
ip: 172.18.0.5
ports:
- "3004:8080"
links:
- db
depends_on:
- db
portal:
image: localhost:5000/ic2_portal:latest
net: IC2
ip: 172.18.0.6
ports:
- "3000:8080"
links:
- db
depends_on:
- db
- doctor
- auth
s1:
image: localhost:5000/ic2_s1:latest
net: IC2
ip: 172.18.0.7
ports:
- "3006:8080"
links:
- db
depends_on:
- db
- doctor
- auth
- portal
#3007 is reserved for s2 that will run on my system.
s3:
image: localhost:5000/ic2_s3:latest
net: IC2
ip: 172.18.0.9
ports:
- "3008:8080"
links:
- db
depends_on:
- db
- doctor
- auth
- portal
#Client is running on system with port 3009