-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
114 lines (109 loc) · 3.1 KB
/
docker-compose.override.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
version: '3.8'
services:
gateway:
build:
context: .
dockerfile: src/buildingBlocks/Gateways/Gateway/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5999
ports:
- "5999:5999"
order-service:
build:
context: .
dockerfile: src/services/orders/Api/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5101
ports:
- "5101:5101"
- "50001:50001"
order-service-dapr:
image: "daprio/daprd:latest"
command: [ "./daprd",
"-app-id", "orderservice",
"-app-port", "5101",
"-resources-path", "/components"
]
depends_on:
- order-service
- redis
#- rabbitmq
network_mode: "service:order-service"
volumes:
- ./components:/components
tracking-service:
build:
context: .
dockerfile: src/services/tracking/TrackingService.Api/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5102
ports:
- "5102:5102"
- "50002:50001"
tracking-service-dapr:
image: "daprio/daprd:latest"
command: [ "./daprd",
"-app-id", "trackingservice",
"-app-port", "5102",
"-resources-path", "/components"
]
depends_on:
- tracking-service
- redis
#- rabbitmq
network_mode: "service:tracking-service"
volumes:
- ./components:/components
restart: on-failure:5
identity-service:
build:
context: .
dockerfile: src/services/identity/Api/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=5103
ports:
- "5103:5103"
- "50011:50001"
identity-service-dapr:
image: "daprio/daprd:latest"
command: [ "./daprd",
"-app-id", "identityservice",
"-app-port", "5103",
"-resources-path", "/components"
]
depends_on:
- identity-service
- redis
#- rabbitmq
network_mode: "service:identity-service"
volumes:
- ./components:/components
webstatus:
environment:
- ASPNETCORE_URLS=http://0.0.0.0:80
- HealthChecksUI__HealthChecks__0__Name=Order API
- HealthChecksUI__HealthChecks__0__Uri=http://order-service:5101/hc
- HealthChecksUI__HealthChecks__1__Name=Tracking API
- HealthChecksUI__HealthChecks__1__Uri=http://tracking-service:5102/hc
- HealthChecksUI__HealthChecks__2__Name=Identity API
- HealthChecksUI__HealthChecks__2__Uri=http://identity-service:5103/hc
- HealthChecksUI__HealthChecks__3__Name=Gateway API
- HealthChecksUI__HealthChecks__3__Uri=http://gateway:5999/hc
ports:
- "5107:80"
dapr-placement:
image: "daprio/dapr:1.9.4"
command: ["./placement", "-port", "50000", "-log-level", "debug"]
ports:
- "50000:50000"
redis:
image: redis
hostname: redis
ports:
- "6379:6379"
networks:
- fastdelivery