-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtye.yaml
More file actions
55 lines (55 loc) · 1.42 KB
/
tye.yaml
File metadata and controls
55 lines (55 loc) · 1.42 KB
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
# 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: crudaspnetcore
services:
- name: crudaspnetcore-api
project: CrudAspNetCore.Api/CrudAspNetCore.Api.csproj
env:
- name: ASPNETCORE_ENVIRONMENT
value: Tye
bindings:
- name: http
protocol: http
port: 5000
- name: https
protocol: https
port: 5001
# 假如想使用自己的專案,可以修改底下資訊
# - name: crudaspnetcore-web
# project: ../CrudBlazorWasm/CrudBlazorWasm.Web/CrudBlazorWasm.Web.csproj
# bindings:
# - name: http
# protocol: http
# port: 4000
# - name: https
# protocol: https
# port: 4001
# 假如有 Container 可以介接,可以修改底下資訊
- name: front-end
image: ghcr.io/study4/crud-blazor-wasm:master
env:
- name: ASPNETCORE_ENVIRONMENT
value: Tye
bindings:
- name: http
protocol: http
containerPort: 80
port: 4000
- name: https
protocol: https
containerPort: 443
port: 4001
- name: sky-hr-db
image: mcr.microsoft.com/mssql/server:2019-latest
env:
- name: SA_PASSWORD
value: "P@ssw0rd"
- name: ACCEPT_EULA
value: "Y"
bindings:
- port: 1433
connectionString: "Server=${host},${port};Database=SkyHRDB;User Id=sa;Password=P@ssw0rd;MultipleActiveResultSets=true"