FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MicroservicesSpringBoot/docker-compose.yml at master · javaLearnCo/MicroservicesSpringBoot · GitHub
javaLearnCo
MicroservicesSpringBoot
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
MicroservicesSpringBoot
/
docker-compose.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
60 lines (55 loc) · 1.44 KB
Breadcrumbs
MicroservicesSpringBoot
/
docker-compose.yml
Copy path
File metadata and controls
60 lines (55 loc) · 1.44 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
services
:
serviceregistry
:
image
:
"
etiennebel/microspring_serviceregistry
"
container_name
:
serviceregistry
ports
:
-
"
8761:8761
"
configserver
:
image
:
"
etiennebel/microspring_configserver
"
container_name
:
configserver
ports
:
-
"
9296:9296
"
environment
:
-
EUREKA_SERVER_ADDRESS=http://serviceregistry:8761/eureka
healthcheck
:
test
:
["CMD", "curl", "-f", "http://configserver:9296/actuator/health"]
interval
:
10s
timeout
:
5s
retries
:
5
depends_on
:
-
serviceregistry
apigateway
:
image
:
"
etiennebel/microspring_apigateway
"
container_name
:
cloudgateway
ports
:
-
"
9090:9090
"
environment
:
-
EUREKA_SERVER_ADDRESS=http://serviceregistry:8761/eureka
-
CONFIG_SERVER_URL=configserver
depends_on
:
configserver
:
condition
:
service_healthy
movieservice
:
image
:
"
etiennebel/microspring_movieservice
"
container_name
:
movieservice
ports
:
-
"
8088:8088
"
environment
:
-
EUREKA_SERVER_ADDRESS=http://serviceregistry:8761/eureka
-
CONFIG_SERVER_URL=configserver
depends_on
:
configserver
:
condition
:
service_healthy
#
productDb:
#
container_name: productDb
#
image: mysql:latest
#
volumes:
#
- mysql_data:/var/lib/mysql
#
environment:
#
MYSQL_USER: root
#
MYSQL_ROOT_PASSWORD: root
#
MYSQL_DATABASE: productDb
#
ports:
#
- "3306:3306"
#
volumes:
#
mysql_data:
Back
|
FazBrowse Home
|
New Git URL