-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
104 lines (96 loc) · 2.05 KB
/
docker-compose.yml
File metadata and controls
104 lines (96 loc) · 2.05 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: '3'
services:
musicuserservice:
build: capstone_user_service
restart: always
container_name: music-musicuser
depends_on:
- configserver
- music-eureka
- mongo
networks:
testing_net:
ipv4_address: 172.29.0.2
ports:
- "8083:8083"
musicauthservice:
build: capstone_authentication_service
restart: always
container_name: music-musicauth
depends_on:
- configserver
- music-eureka
- mysql
networks:
testing_net:
ipv4_address: 172.29.0.3
ports:
- "8084:8084"
configserver:
build: capstone_config_server
restart: always
container_name: music-configserver
networks:
testing_net:
ipv4_address: 172.29.0.4
ports:
- "8090:8090"
music-eureka:
build: capstone_eureka_server
restart: always
container_name: music-eureka
networks:
testing_net:
ipv4_address: 172.29.0.5
ports:
- "9003:9003"
orchestration:
build: capstone_orchestration_service
restart: always
container_name: music-orchestration
networks:
testing_net:
ipv4_address: 172.29.0.6
ports:
- "8082:8082"
mysql:
image: mysql:5.7
container_name: music-auth_mysql_1
networks:
testing_net:
ipv4_address: 172.29.0.7
ports:
- "3306:3306"
volumes:
- ./data:/docker-entrypoint-initdb.d
environment:
- MYSQL_DATABASE=capstonedb
- MYSQL_ROOT_PASSWORD=root
mongo:
image: mongo:3.4-jessie
container_name: music-user_mongo_1
networks:
testing_net:
ipv4_address: 172.29.0.8
ports:
- "27017:27017"
zuul:
build: capstone_zuul_service
restart: always
container_name: music-zuul
depends_on:
- musicuserservice
- musicauthservice
- orchestration
networks:
testing_net:
ipv4_address: 172.29.0.9
ports:
- "8086:8086"
networks:
testing_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.29.0.0/16