-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
162 lines (156 loc) · 3.58 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
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
version: "3.8"
services:
keycloak:
image: quay.io/keycloak/keycloak:19.0.0
restart: always
ports:
- "7080:8080"
networks:
- auth-network
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
command:
- start-dev
# prometheus:
# image: prom/prometheus:latest
# restart: always
# ports:
# - 9090:9090
# volumes:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml
# networks:
# - auth-network
#
# grafana:
# image: grafana/grafana:latest
# restart: always
# ports:
# - 3000:3000
# networks:
# - auth-network
# depends_on:
# - prometheus
# environment:
# - GF_SECURITY_ADMIN_USER=admin
# - GF_SECURITY_ADMIN_PASSWORD=password
rabbitmq:
image: rabbitmq:3.8.14-management
restart: always
ports:
- 5672:5672
- 15672:15672
networks:
- auth-network
zipkinserver:
image: openzipkin/zipkin:2.23.2
restart: always
ports:
- 9411:9411
depends_on:
- rabbitmq
environment:
RABBIT_URI: amqp://guest:guest@rabbitmq:5672
networks:
- auth-network
# configserver:
# image: configserver-bank
# restart: always
# ports:
# - "8071:8071"
# networks:
# - auth-network
#
# eurekaserver:
# image: eurekaserver-bank
# restart: always
# ports:
# - "8070:8070"
# networks:
# - auth-network
# depends_on:
# - configserver
# environment:
# SPRING_PROFILES_ACTIVE: default
# SPRING_CONFIG_IMPORT: configserver:http://configserver:8071
#
# gatewayserver:
# image: gatewayserver-bank
# restart: always
# ports:
# - "8072:8072"
# networks:
# - auth-network
# depends_on:
# - configserver
# - eurekaserver
# - cards
# - loans
# - accounts
# environment:
# SPRING_PROFILES_ACTIVE: default
# SPRING_CONFIG_IMPORT: configserver:http://configserver:8071
# EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eurekaserver:8070/eureka
#
# accounts:
# image: accounts-bank
# restart: always
# ports:
# - "8080:8080"
# networks:
# - auth-network
# depends_on:
# - configserver
# - eurekaserver
# environment:
# SPRING_PROFILES_ACTIVE: default
# SPRING_CONFIG_IMPORT: configserver:http://configserver:8071
# EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eurekaserver:8070/eureka
#
# accounts1:
# image: accounts-bank
# restart: always
# ports:
# - "8081:8080"
# networks:
# - auth-network
# depends_on:
# - configserver
# - eurekaserver
# environment:
# SPRING_PROFILES_ACTIVE: default
# SPRING_CONFIG_IMPORT: configserver:http://configserver:8071
# EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eurekaserver:8070/eureka
#
# loans:
# image: loans-bank
# restart: always
# ports:
# - "8090:8090"
# networks:
# - auth-network
# depends_on:
# - configserver
# - eurekaserver
# environment:
# SPRING_PROFILES_ACTIVE: default
# SPRING_CONFIG_IMPORT: configserver:http://configserver:8071
# EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eurekaserver:8070/eureka
#
# cards:
# image: cards-bank
# restart: always
# ports:
# - "9000:9000"
# networks:
# - auth-network
# depends_on:
# - configserver
# - eurekaserver
# environment:
# SPRING_PROFILES_ACTIVE: default
# SPRING_CONFIG_IMPORT: configserver:http://configserver:8071
# EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: http://eurekaserver:8070/eureka
networks:
auth-network:
driver: bridge