forked from vietnam-devs/coolstore-microservices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tye.yaml
67 lines (58 loc) · 1.85 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: coolstore-on-dapr
extensions:
- name: dapr
log-level: debug
config: appconfig
components-path: "./components/local/"
- name: zipkin
- name: elastic
logPath: ./.logs
services:
- name: webapigatewayapp
project: src/BFFs/WebApiGateway/WebApiGateway.csproj
bindings:
- port: 5000
- name: identityapp
project: src/Services/Identity/IdentityService/IdentityService.csproj
bindings:
- port: 5001
- name: inventoryapp
project: src/Services/Inventory/InventoryService.Api/InventoryService.Api.csproj
env:
- name: ConnectionStrings__mysql
value: Server=rm-wz9f1jcr5466b42415o.mysql.rds.aliyuncs.com;Database=printerdevtestw;Uid=printer;Pwd=123qwe!@#;persistsecurityinfo=True;Character Set=utf8;
bindings:
- port: 5002
- name: productcatalogapp
project: src/Services/ProductCatalog/ProductCatalogService.Api/ProductCatalogService.Api.csproj
env:
- name: ConnectionStrings__mysql
value: Server=rm-wz9f1jcr5466b42415o.mysql.rds.aliyuncs.com;Database=printerdevtestw;Uid=printer;Pwd=123qwe!@#;persistsecurityinfo=True;Character Set=utf8;
- name: ElasticSearch__Url
value: http://localhost:9200
bindings:
- port: 5003
- name: shoppingcartapp
project: src/Services/ShoppingCart/ShoppingCartService.Api/ShoppingCartService.Api.csproj
bindings:
- port: 5004
- name: saleapp
project: src/Services/Sale/SaleService.Api/SaleService.Api.csproj
env:
- name: ConnectionStrings__mysql
value: Server=rm-wz9f1jcr5466b42415o.mysql.rds.aliyuncs.com;Database=printerdevtestw;Uid=printer;Pwd=123qwe!@#;persistsecurityinfo=True;Character Set=utf8;
bindings:
- port: 5005
- name: web
dockerFile: src/web/Dockerfile.tye
# image: web
env:
- name: PORT
value: 80
- name: REACT_APP_AUTHORITY
value: http://localhost:5001
- name: REACT_APP_API
value: http://localhost:5000
bindings:
- protocol: http
port: 3000