-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtye.yaml
86 lines (86 loc) · 2.05 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
# 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: somewebapp
extensions:
- name: seq
logPath: ./.logs
services:
- name: jaeger
image: jaegertracing/all-in-one
bindings:
- name: ui
protocol: http
port: 16686
containerPort: 16686
- name: collector-endpoint
protocol: http
port: 14268
containerPort: 14268
- name: collector-endpoint-proto
protocol: http
port: 14250
containerPort: 14250
- name: agent-over-compact-thrift-protocol
protocol: udp
port: 6831
containerPort: 6831
# - name: agent-over-binary-thrift-protocol
# protocol: udp
# port: 6832
# containerPort: 6832
- name: otel
image: otel/opentelemetry-collector:0.48.0
args: --config=/etc/otel-collector-config.yaml
bindings:
- name: grpc-receiver
port: 4317
containerPort: 4317
volumes:
- source: ./otel-collector-config.yaml
target: /etc/otel-collector-config.yaml
- source: ./output
target: /etc/output
- name: ui
project: SomeWebApp.UI/SomeWebApp.UI.csproj
bindings:
- port: 5001
protocol: https
name: https
- port: 5000
protocol: http
name: http
env:
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: API_SERVICE_FQDN
value: localhost:6001
- name: api
project: SomeWebApp.API/SomeWebApp.API.csproj
bindings:
- port: 6001
protocol: https
name: https
- port: 6000
protocol: http
name: http
- name: database
image: postgres:9.6
env:
- name: POSTGRES_USER
value: postgres
- name: POSTGRES_PASSWORD
value: password
- name: POSTGRES_DB
value: postgres
bindings:
- name: connectionstring
port: 5432
connectionString: Server=${host};Port=${port};User Id=postgres;Password=${env:POSTGRES_PASSWORD};
volumes:
- name: postgres-storage
source: ./db/
target: /var/lib/postgresql/data