-
Notifications
You must be signed in to change notification settings - Fork 7
/
tye.yaml
52 lines (43 loc) · 1.26 KB
/
tye.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# tye application configuration file
# read all about it at https://github.com/dotnet/tye
#
# when you've given us a try, we'd love to know what you think:
# https://aka.ms/AA7q20u
#
name: modernstore
extensions:
- name: dapr
log-level: debug
config: appconfig
# components-path configures the components path of the dapr sidecard
components-path: "./components/"
services:
- name: productionservice
project: src/ProductionService/ProductionService.csproj
- name: saleservice
project: src/SaleService/SaleService.csproj
- name: identityservice
project: src/IdentityService/IdentityService.csproj
- name: appgateway
project: src/Gateway/AppGateway.csproj
- name: sqlserver
image: mcr.microsoft.com/mssql/server:2017-latest
env:
- name: SA_PASSWORD
value: "P@ssw0rd"
- name: ACCEPT_EULA
value: "Y"
bindings:
- port: 1433
connectionString: Data Source=${host},${port};Initial Catalog=modernstoredb;User Id=sa;Password=${env:SA_PASSWORD};MultipleActiveResultSets=True;
- name: redis
image: redis
bindings:
- port: 6379
# To ensure that your are running a dapr placement container with the right binding port.
# (50005 as HostPort)
- name: placement
image: daprio/dapr
args: ./placement
bindings:
- port: 50005