-
Notifications
You must be signed in to change notification settings - Fork 8
/
tye.yaml
76 lines (75 loc) · 1.91 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
68
69
70
71
72
73
74
75
76
name: telephonedirectory
extensions:
- name: dapr
components-path: "./"
services:
telephonedirectory-guide:
http-port: 7002
grpc-port: 7003
telephonedirectory-report:
http-port: 8002
grpc-port: 8003
enabled: true
services:
- name: gateway-webapi
project: src/Global/Gateway.WebApi/Gateway.WebApi.csproj
bindings:
- protocol: http
port: 44382
- name: telephonedirectory-saga
project: src/Global/TelephoneDirectory.Saga/TelephoneDirectory.Saga.csproj
- name: telephonedirectory-auth
project: src/Microservices/Csharp/Auth/TelephoneDirectory.Auth/TelephoneDirectory.Auth.csproj
bindings:
- protocol: http
port: 44001
- name: telephonedirectory-guide
project: src/Microservices/Csharp/Guide/TelephoneDirectory.Guide/TelephoneDirectory.Guide.csproj
bindings:
- protocol: http
port: 44337
- name: telephonedirectory-report
project: src/Microservices/Csharp/Report/TelephoneDirectory.Report/TelephoneDirectory.Report.csproj
bindings:
- protocol: http
port: 44373
- name: guidedb
image: postgres
env:
- name: POSTGRES_USER
value: postgres
- name: POSTGRES_PASSWORD
value: admin
- name: POSTGRES_DB
value: PhoneGuide
bindings:
- port: 5432
- name: reportdb
image: postgres
env:
- name: POSTGRES_USER
value: postgres
- name: POSTGRES_PASSWORD
value: admin
- name: POSTGRES_DB
value: PhoneReport
bindings:
- port: 5433
- name: authdb
image: mcr.microsoft.com/mssql/server:2019-latest
env:
- name: MSSQL_SA_PASSWORD
value: Admin!23
- name: ACCEPT_EULA
value: 'Y'
volumes:
- name: authdb_volume
target: /var/opt/mssql
bindings:
- port: 1433
connectionString: Server=${host},${port};User Id=sa;Database=PhoneAuth;Password=${env:MSSQL_SA_PASSWORD};
- name: redis
image: redis
bindings:
- port: 6379
containerPort: 6379