forked from marinasundstrom/finance-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tye.yaml
117 lines (106 loc) · 2.43 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# 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: client
services:
- name: webapp
project: Client/Client.csproj
bindings:
- protocol: https
port: 5010
- name: accounting
project: Accounting/Accounting/WebApi/WebApi.csproj
bindings:
- protocol: https
port: 5020
- name: accountant
project: Accounting/Accountant/Accountant.csproj
bindings:
- protocol: https
port: 5030
- name: transactions
project: Transactions/Transactions/Transactions.csproj
bindings:
- protocol: https
port: 5040
- name: invoices
project: Invoices/Invoices/Invoices.csproj
bindings:
- protocol: https
port: 5050
- name: documents
project: Documents/Documents/Documents.csproj
bindings:
- protocol: https
port: 5070
- name: email
project: EmailService/EmailService/EmailService.csproj
bindings:
- protocol: https
port: 5080
- name: mssql
image: mcr.microsoft.com/azure-sql-edge:latest
env:
- name: MSSQL_SA_PASSWORD
value: P@ssw0rd
- name: MSSQL_PID
value: Developer
- name: ACCEPT_EULA
value: "Y"
bindings:
- port: 1433
connectionString: Server=${host},${port};User Id=sa;Password=${env:MSSQL_SA_PASSWORD}
volumes:
- source: .data/sql-edge
target: /var/opt/mssql/data
- name: azurite
image: mcr.microsoft.com/azure-storage/azurite
args: "azurite-blob --loose --blobHost 0.0.0.0 -l /data"
bindings:
- name: blob
port: 10000
containerPort: 10000
protocol: http
- name: queue
port: 10001
containerPort: 10001
protocol: http
- name: table
port: 10002
containerPort: 10002
protocol: http
volumes:
- source: .data/azurite
target: /data
- name: nginx
image: nginx
bindings:
- protocol: https
port: 80
volumes:
- source: nginx.conf
target: /etc/nginx/templates/default.conf.template
- source: certs
target: /etc/nginx/certs
- name: rabbitmq
image: rabbitmq:3-management
bindings:
- name: rabbit
port: 5672
protocol: rabbitmq
- name: management
port: 15672
- name: smtp4dev
image: rnwood/smtp4dev:prerelease
bindings:
- name: ui
port: 3000
containerPort: 80
protocol: http
- name: smtp
port: 25
containerPort: 25
protocol: smtp