This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tye.yaml
106 lines (97 loc) · 2.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
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
# 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: blazorapp1
registry: ba1cregistry.azurecr.io
services:
- name: blazorapp1
project: WebAPI/WebAPI.csproj
bindings:
- name: http
protocol: http
port: 5000
- name: https
protocol: https
port: 5001
- name: worker
project: Worker/Worker.csproj
bindings:
- name: http
protocol: http
port: 5020
- name: https
protocol: https
port: 5021
- name: documents
project: Documents/Documents.csproj
bindings:
- name: http
protocol: http
port: 5030
- name: https
protocol: https
port: 5031
- name: sqlserver
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: redis
# image: redis
# bindings:
# - port: 6379
# connectionString: "${host}:${port}"
# - name: redis-cli
# image: redis
# args: "redis-cli -h redis MONITOR"
- 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