-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.override.yml - Copy
112 lines (101 loc) · 3.76 KB
/
docker-compose.override.yml - Copy
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
version: '3.4'
services:
rabbitmq:
ports:
- "15672:15672" # Important: In a production environment your should remove the external port
- "5672:5672" # Important: In a production environment your should remove the external port
elasticsearch:
ports:
- "9200:9200"
- "9300:9300"
- "5601:5601"
- "12201:12201/udp"
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
sql.data:
environment:
- SA_PASSWORD=Pass@word
- ACCEPT_EULA=Y
ports:
- "5433:1433" # Important: In a production environment your should remove the external port
ecommerce.data:
ports:
- "6379:6379" # Important: In a production environment your should remove the external port
basket.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80;http://0.0.0.0:443
- IdentityUrl=http://host.docker.internal:5105/
- RedisConnectionString=ecommerce.data:6379
- RabbitMQConnectionString=amqp://rabbitmq
- ELASTICSEARCH_URL=http://10.0.75.1:9200
- SignalRServerUrl=http://10.0.75.1:5100/
ports:
- "5103:80"
- "5203:443"
catalog.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- ELASTICSEARCH_URL=http://10.0.75.1:9200
ports:
- "5108:80"
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
ordering.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionString=Server=sql.data;Database=Ordering;Trusted_Connection=True;MultipleActiveResultSets=true;}
- SignalRServerUrl=http://mvc/
- RabbitMQConnectionString=amqp://rabbitmq
- ELASTICSEARCH_URL=http://10.0.75.1:9200
ports:
- "5106:80"
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
identity.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80;http://0.0.0.0:443
- CallBackUrl=http://host.docker.internal:5100/
- RabbitMQConnectionString=amqp://rabbitmq
- ELASTICSEARCH_URL=http://10.0.75.1:9200
ports:
- "5105:80"
- "5205:443"
volumes:
- ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
mvc:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80;http://0.0.0.0:443
- CatalogUrl=http://catalog.api/
- IdentityUrl=http://host.docker.internal:5105/
- BasketUrl=http://basket.api/
- OrderingUrl=http://ordering.api/
- CallBackUrl=http://host.docker.internal:5100/
- SignalRServerUrl=http://mvc/
- RedisConnectionString=ecommerce.data:6379
- ELASTICSEARCH_URL=http://10.0.75.1:9200
ports:
- "5100:80"
- "5200:443"
webstatus:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- HealthChecks-UI__HealthChecks__1__Name=Basket HTTP Check
- HealthChecks-UI__HealthChecks__1__Uri=http://host.docker.internal:5103/hc
- HealthChecks-UI__HealthChecks__2__Name=Catalog HTTP Check
- HealthChecks-UI__HealthChecks__2__Uri=http://catalog.api/hc
- HealthChecks-UI__HealthChecks__3__Name=MVC HTTP Check
- HealthChecks-UI__HealthChecks__3__Uri=http://mvc/hc
- HealthChecks-UI__HealthChecks__4__Name=Identity HTTP Check
- HealthChecks-UI__HealthChecks__4__Uri=http://10.0.75.1:5105/hc
- HealthChecks-UI__HealthChecks__5__Name=Ordering HTTP Check
- HealthChecks-UI__HealthChecks__5__Uri=http://ordering.api/hc
ports:
- "5107:80"