forked from rahulsahay19/dot-net-core-microservices-8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (52 loc) · 1.3 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
version: '3.4'
services:
catalogdb:
image: mongo
basketdb:
image: redis:alpine
discountdb:
image: postgres
orderdb:
image: mcr.microsoft.com/mssql/server:2022-latest
rabbitmq:
image: rabbitmq:3-management-alpine
pgadmin:
image: dpage/pgadmin4
catalog.api:
image: ${DOCKER_REGISTRY-}catalogapi
build:
context: .
dockerfile: Services/Catalog/Catalog.API/Dockerfile
basket.api:
image: ${DOCKER_REGISTRY-}basketapi
build:
context: .
dockerfile: Services/Basket/Basket.API/Dockerfile
portainer:
image: portainer/portainer-ce
discount.api:
image: ${DOCKER_REGISTRY-}discountapi
build:
context: .
dockerfile: Services/Discount/Discount.API/Dockerfile
ordering.api:
image: ${DOCKER_REGISTRY-}orderingapi
build:
context: .
dockerfile: Services/Ordering/Ordering.API/Dockerfile
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.3
kibana:
image: docker.elastic.co/kibana/kibana:8.14.3
ocelot.apigateway:
image: ${DOCKER_REGISTRY-}ocelotapigateway
build:
context: .
dockerfile: ApiGateways/Ocelot.ApiGateway/Dockerfile
volumes:
mongo_data:
portainer_data:
postgres_data:
pgadmin_data:
elasticsearch-data:
orderdb-data: