-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
154 lines (141 loc) · 2.78 KB
/
docker-compose.yaml
File metadata and controls
154 lines (141 loc) · 2.78 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
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
version: "3"
# Listed here is the services we want to run.
# We can modify the folder name to build the service - ie look for context: ./parking -> its look for parking folder with Dockerfile inside
# We can change the port -> <EXPOSED PORT>:< INTERNAL PORT>, we uses exposed port to communicate to the service to make curl call or access from host
# You can comment other service block if u want to tryout the particular service
services:
authentication:
build:
context: ./authentication
args:
ENVIRONMENT: local
ports:
- 5000:5000
networks:
gmp-net:
aliases:
- authentication
authorizations:
build:
context: ./authorizations
args:
ENVIRONMENT: local
ports:
- 5010:5010
networks:
gmp-net:
aliases:
- authorizations
consumer-users:
build:
context: ./consumer-users
args:
ENVIRONMENT: local
ports:
- 5020:5020
networks:
gmp-net:
aliases:
- consumer-users
payments:
build:
context: ./payments
args:
ENVIRONMENT: local
ports:
- 5030:5030
networks:
gmp-net:
aliases:
- payments
dashboard:
build:
context: ./dashboard
args:
ENVIRONMENT: local
ports:
- 5040:5040
networks:
gmp-net:
aliases:
- dashboard
parking:
build:
context: ./parking
args:
ENVIRONMENT: local
ports:
- 5050:5050
networks:
gmp-net:
aliases:
- parking
parking-session:
build:
context: ./parking-session
args:
ENVIRONMENT: local
ports:
- 5060:5060
networks:
gmp-net:
aliases:
- parking-session
tariff-engine:
build:
context: ./tariff-engine
args:
ENVIRONMENT: local
ports:
- 5070:5070
networks:
gmp-net:
aliases:
- tariff-engine
pass:
build:
context: ./pass
args:
ENVIRONMENT: local
ports:
- 5080:5080
networks:
gmp-net:
aliases:
- pass
offer-engine:
build:
context: ./offer-engine
args:
ENVIRONMENT: local
ports:
- 5090:5090
networks:
gmp-net:
aliases:
- offer-engine
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.3
expose:
- 9200
ports:
- "9200:9200"
networks:
gmp-net:
aliases:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:6.4.3
links:
- "elasticsearch"
ports:
- "5601:5601"
networks:
gmp-net:
aliases:
- kibana
volumes:
mysql_data: {}
networks:
gmp-net:
driver: bridge