-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtye.yaml
35 lines (33 loc) · 879 Bytes
/
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
# 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: accesscontrol
services:
- name: appservice
project: src/AppService/AppService/AppService.csproj
bindings:
- protocol: https
port: 5031
- name: WebApp
project: src/WebApp/WebApp.Server/WebApp.Server.csproj
bindings:
- protocol: https
port: 5032
- name: appservice-db
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};Database=AccessControl;User Id=sa;Password=${env:MSSQL_SA_PASSWORD}
volumes:
- source: .data/sql-edge
target: /var/opt/mssql/data