-
Notifications
You must be signed in to change notification settings - Fork 11
/
tye.yaml
46 lines (39 loc) · 1.21 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
# 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: simple-microservices
extensions:
- name: dapr
log-level: debug
config: simplestore-dapr-config
components-path: ./components
- name: seq
logPath: ./.logs
ingress:
- name: simplestore-ingress
bindings:
- port: 80
protocol: http
rules:
- path: /
service: graphql-api
services:
- name: graphql-api
project: src/Services/GraphQL/SimpleStore.GraphQLApi/SimpleStore.GraphQLApi.csproj
- name: products-api
project: src/Services/ProductCatalog/SimpleStore.ProductCatalogApi/SimpleStore.ProductCatalogApi.csproj
- name: inventories-api
project: src/Services/Inventories/SimpleStore.InventoriesApi/SimpleStore.InventoriesApi.csproj
- name: sqlserver
image: mcr.microsoft.com/mssql/server:2019-latest
env:
- name: SA_PASSWORD
value: "P@ssword"
- name: ACCEPT_EULA
value: "Y"
bindings:
- port: 1433
connectionString: Data Source=${host},${port};User Id=sa;Password=${env:SA_PASSWORD};MultipleActiveResultSets=True