-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
129 lines (123 loc) · 2.85 KB
/
docker-compose.yml
File metadata and controls
129 lines (123 loc) · 2.85 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
version: '3.4'
networks:
frontend:
backend:
services:
eventcatalog:
image: event/eventcatalogapi
build:
context: .\EventCatalogAPI
dockerfile: Dockerfile
environment:
ExternalCatalogBaseUrl: http://localhost:7810
DatabaseServer: mssqlserver
DatabaseName: EventDB
DatabaseUser: sa
DatabasePassword: ProductApi(!)
ports:
- "7810:80"
depends_on:
- mssqlserver
networks:
- frontend
- backend
container_name: EventProductserver
tokenserver:
build:
context: .\TokenServiceApi
dockerfile: Dockerfile
image: jewels/tokenapi
environment:
ASPNETCORE_ENVIRONMENT: Development
MvcClient: http://localhost:7811
ports:
- "7800:80"
container_name: tokenserviceapi
networks:
- backend
- frontend
depends_on:
- mssqlserver
order:
build:
context: .\OrderApi
dockerfile: Dockerfile
image: event/orderapi
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
environment:
ASPNETCORE_ENVIRONMENT: Development
IdentityUrl: http://192.168.254.29:7800
DatabaseServer: mssqlserver
DatabaseName: OrderDB
DatabaseUser: sa
DatabasePassword: ProductApi(!)
ports:
- "7850:80"
container_name: orderapi
networks:
- backend
- frontend
depends_on:
- mssqlserver
- tokenserver
cart:
build:
context: .\CartApi
dockerfile: Dockerfile
image: event/cartapi
environment:
IdentityUrl: http://192.168.86.242:7800
ConnectionString: basketdata
ports:
- "7840:80"
container_name: cartapi
networks:
- frontend
- backend
depends_on:
- tokenserver
- basketdata
webmvc:
image: events/webmvc
build:
context: .\WebMvc
dockerfile: Dockerfile
environment:
EventUrl: http://eventcatalog
IdentityUrl: http://192.168.86.242:7800
CallBackUrl: http://localhost:7811
CartUrl: http://cart
OrderUrl: http://order
StripePublicKey: pk_test_51InXkqE1lm64aojwfoCChLAglaqKkcRJaGIPsMAyXB8urT3dpkU1BNrGL30S0de5GbV7TTAg66mQk3KYyy6zUQ5d00nQsTLms5
StripePrivateKey: sk_test_51InXkqE1lm64aojwDJqNvjZwtdN5tcGuylgPvxutRDwdOH9V1xDbyCrmnTRvw24KXCDujMWA8HpcJZjm4qd7SOwQ00lVJYJzH9
ports:
- "7811:80"
container_name: webshop
networks:
- frontend
depends_on:
- eventcatalog
- tokenserver
- cart
- order
mssqlserver:
image: "mcr.microsoft.com/mssql/server:latest"
environment:
ACCEPT_EULA: Y
SA_PASSWORD: ProductApi(!)
ports:
- "1448:1433"
container_name: mssqlserver
networks:
- backend
basketdata:
image: redis
container_name: databasket
ports:
- "7180:6379"
networks:
- backend