-
Notifications
You must be signed in to change notification settings - Fork 0
/
tye.yaml
41 lines (38 loc) · 1.64 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
# 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
#
# define global settings here
name: Store-API # application name
# registry: exampleuser # dockerhub username or container registry hostname
ingress:
- name: ingress
bindings:
- port: 8080
rules:
- path: /
service: store-api
# define multiple services here
services:
- name: store-api
executable: dapr # path to an executable (relative to this file)
args: run --app-id node-app --app-port %PORT% --dapr-http-port 3502 --components-path ./components -- npm run start # arguments to pass to the process
# replicas: 5 # number of times to launch the application
workingDirectory: ./node-service/
bindings: # optional array of bindings (ports, connection strings)
- protocol: http
- name: order
executable: dapr # path to an executable (relative to this file)
args: run --app-id python-app --app-port %PORT% --dapr-http-port 3500 --components-path . -- python3 app.py # arguments to pass to the process
# replicas: 5 # number of times to launch the application
workingDirectory: ./python-service/
bindings: # optional array of bindings (ports, connection strings)
- protocol: http
- name: inventory
executable: dapr # path to an executable (relative to this file)
args: run --app-id go-app --app-port %PORT% --dapr-http-port 3501 -- go run . # arguments to pass to the process
workingDirectory: ./go-service/
bindings: # optional array of bindings (ports, connection strings)
- protocol: http