-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdapr.yaml
32 lines (32 loc) · 1.18 KB
/
dapr.yaml
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
version: 1
common:
resourcesPath: ./components
env:
# Set this to an actual connection string to enable tracing to Application Insights
ApplicationInsights__ConnectionString: ""
# Always override the host name to localhost for the image source to seamlessly switch
# between "dapr run -f ." and "docker compose up -d" using the same database
ImageSource__Host: "127.0.0.1"
apps:
- appID: contosoads-web
appDirPath: ./src/ContosoAds.Web
appProtocol: HTTP
appPort: 7125
appSSL: true
appHealthCheckPath: "/healthz/live"
enableAppHealthCheck: true
daprHTTPPort: 3500 # DAPR_HTTP_PORT is set in launchSettings.json
daprGRPCPort: 3501 # DAPR_GRPC_PORT is set in launchSettings.json
command: ["dotnet", "run"]
logLevel: info
- appID: contosoads-imageprocessor
appDirPath: ./src/ContosoAds.ImageProcessor
appProtocol: HTTP
appPort: 7073
appSSL: true
appHealthCheckPath: "/healthz/live"
enableAppHealthCheck: true
daprHTTPPort: 13500 # DAPR_HTTP_PORT is set in launchSettings.json
daprGRPCPort: 13501 # DAPR_GRPC_PORT is set in launchSettings.json
command: ["dotnet", "run"]
logLevel: info