Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
BookStoreApp-Distributed-Application/docker-compose.yml at master · devdcores/BookStoreApp-Distributed-Application · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
devdcores
BookStoreApp-Distributed-Application
Repository navigation
Code
Issues
8
(8)
Pull requests
11
(11)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
BookStoreApp-Distributed-Application
/
docker-compose.yml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
245 lines (227 loc) · 6.16 KB
master
Breadcrumbs
BookStoreApp-Distributed-Application
/
docker-compose.yml
Copy path
Top
File metadata and controls
Code
Blame
245 lines (227 loc) · 6.16 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
version
:
"
3.4
"
services
:
#
Database
bookstore-mysql-db
:
image
:
mysql:5.7
container_name
:
bookstore-mysql-db
hostname
:
bookstore-mysql-db
restart
:
always
environment
:
MYSQL_DATABASE
:
'
bookstore_db
'
MYSQL_USER
:
'
bookstoreDBA
'
MYSQL_PASSWORD
:
'
PaSSworD
'
MYSQL_ROOT_PASSWORD
:
'
r00tPaSSworD
'
ports
:
-
"
3306:3306
"
expose
:
-
"
3306
"
volumes
:
-
bookstore-db-volume:/var/lib/mysql
networks
:
-
bookstore-app-network
#
Core services
bookstore-consul-discovery
:
hostname
:
bookstore-consul-discovery
image
:
consul
container_name
:
bookstore-consul-discovery
restart
:
always
ports
:
-
"
8500:8500
"
networks
:
-
bookstore-app-network
bookstore-zuul-api-gateway-server
:
build
:
context
:
./bookstore-api-gateway-service
args
:
JAR_FILE
:
bookstore-api-gateway-service-0.0.1-SNAPSHOT.jar
dockerfile
:
Dockerfile
image
:
bookstore-zuul-api-gateway-server
container_name
:
bookstore-zuul-api-gateway-server
hostname
:
bookstore-zuul-api-gateway-server
ports
:
-
"
8765:8765
"
networks
:
-
bookstore-app-network
environment
:
-
SERVER_PORT=8765
-
ZIPKIN_HOST=bookstore-zipkin:9411
-
SPRING_PROFILES_ACTIVE=docker
bookstore-account-service
:
build
:
context
:
./bookstore-account-service
args
:
JAR_FILE
:
bookstore-account-service-0.0.1-SNAPSHOT.jar
dockerfile
:
Dockerfile
image
:
bookstore-account-service
container_name
:
bookstore-account-service
hostname
:
bookstore-account-service
ports
:
-
"
4001:4001
"
networks
:
-
bookstore-app-network
environment
:
-
SERVER_PORT=4001
-
ZIPKIN_HOST=bookstore-zipkin:9411
-
SPRING_PROFILES_ACTIVE=docker
bookstore-billing-service
:
build
:
context
:
./bookstore-billing-service
args
:
JAR_FILE
:
bookstore-billing-service-0.0.1-SNAPSHOT.jar
dockerfile
:
Dockerfile
image
:
bookstore-billing-service
container_name
:
bookstore-billing-service
hostname
:
bookstore-billing-service
ports
:
-
"
5001:5001
"
networks
:
-
bookstore-app-network
environment
:
-
SERVER_PORT=5001
-
ZIPKIN_HOST=bookstore-zipkin:9411
-
SPRING_PROFILES_ACTIVE=docker
bookstore-catalog-service
:
build
:
context
:
./bookstore-catalog-service
args
:
JAR_FILE
:
bookstore-catalog-service-0.0.1-SNAPSHOT.jar
dockerfile
:
Dockerfile
image
:
bookstore-catalog-service
container_name
:
bookstore-catalog-service
hostname
:
bookstore-catalog-service
ports
:
-
"
6001:6001
"
networks
:
-
bookstore-app-network
environment
:
-
SERVER_PORT=6001
-
ZIPKIN_HOST=bookstore-zipkin:9411
-
SPRING_PROFILES_ACTIVE=docker
bookstore-order-service
:
build
:
context
:
./bookstore-order-service
args
:
JAR_FILE
:
bookstore-order-service-0.0.1-SNAPSHOT.jar
dockerfile
:
Dockerfile
image
:
bookstore-order-service
container_name
:
bookstore-order-service
hostname
:
bookstore-order-service
ports
:
-
"
7001:7001
"
networks
:
-
bookstore-app-network
environment
:
-
SERVER_PORT=7001
-
ZIPKIN_HOST=bookstore-zipkin:9411
-
SPRING_PROFILES_ACTIVE=docker
bookstore-payment-service
:
build
:
context
:
./bookstore-payment-service
args
:
JAR_FILE
:
bookstore-payment-service-0.0.1-SNAPSHOT.jar
dockerfile
:
Dockerfile
image
:
bookstore-payment-service
container_name
:
bookstore-payment-service
hostname
:
bookstore-payment-service
ports
:
-
"
8001:8001
"
networks
:
-
bookstore-app-network
environment
:
-
SERVER_PORT=8001
-
ZIPKIN_HOST=bookstore-zipkin:9411
-
SPRING_PROFILES_ACTIVE=docker
#
Tracing service
bookstore-zipkin
:
image
:
openzipkin/zipkin
container_name
:
bookstore-zipkin
hostname
:
bookstore-zipkin
ports
:
-
"
9411:9411
"
networks
:
-
bookstore-app-network
#
Monitoring Services
bookstore-prometheus
:
build
:
context
:
./bookstore-prometheus
dockerfile
:
Dockerfile
image
:
bookstore-prometheus
container_name
:
bookstore-prometheus
hostname
:
bookstore-prometheus
ports
:
-
"
9090:9090
"
networks
:
-
bookstore-app-network
bookstore-grafana
:
build
:
context
:
./bookstore-graphana
dockerfile
:
Dockerfile
image
:
graphana
container_name
:
bookstore-graphana
hostname
:
bookstore-graphana
ports
:
-
"
3030:3000
"
volumes
:
-
bookstore-graphana-volume:/var/lib/grafana
networks
:
-
bookstore-app-network
#
Monitoring using TICK stack.
bookstore-telegraf
:
build
:
context
:
./bookstore-telegraph
dockerfile
:
Dockerfile
image
:
bookstore-telegraf
container_name
:
bookstore-telegraf
hostname
:
bookstore-telegraf
environment
:
HOSTNAME
:
"
bookstore-telegraf
"
ports
:
-
"
8125:8125/udp
"
volumes
:
-
/var/run/docker.sock:/var/run/docker.sock
networks
:
-
bookstore-app-network
bookstore-influxdb
:
image
:
influxdb
container_name
:
bookstore-influxdb
hostname
:
bookstore-influxdb
volumes
:
-
booksture-influxdb-volume:/var/lib/influxdb
ports
:
-
"
8086:8086
"
networks
:
-
bookstore-app-network
bookstore-chronograf
:
image
:
chronograf:1.7.3
container_name
:
bookstore-chronograf
hostname
:
bookstore-chronograf
environment
:
INFLUXDB_URL
:
http://bookstore-influxdb:8086
KAPACITOR_URL
:
http://bookstore-kapacitor:9092
volumes
:
-
booksture-chronograf-volume:/var/lib/chronograf
ports
:
-
"
8888:8888
"
restart
:
always
networks
:
-
bookstore-app-network
bookstore-kapacitor
:
image
:
kapacitor
container_name
:
bookstore-kapacitor
hostname
:
bookstore-kapacitor
environment
:
KAPACITOR_HOSTNAME
:
bookstore-kapacitor
KAPACITOR_INFLUXDB_0_URLS_0
:
http://bookstore-influxdb:8086
ports
:
-
"
9092:9092
"
networks
:
-
bookstore-app-network
volumes
:
bookstore-db-volume
:
bookstore-graphana-volume
:
booksture-telegraph-volume
:
booksture-influxdb-volume
:
booksture-chronograf-volume
:
networks
:
bookstore-app-network
:
driver
:
bridge
You can’t perform that action at this time.