-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtye.yaml
36 lines (34 loc) · 1.66 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
# 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
# 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 3000 --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)
- port: 3000 # number port of the binding
protocol: http
- name: order
executable: dapr # path to an executable (relative to this file)
args: run --app-id python-app --app-port 8051 --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)
- port: 8051 # number port of the binding
protocol: http
- name: inventory
executable: dapr # path to an executable (relative to this file)
args: run --app-id go-app --app-port 8050 --dapr-http-port 3501 -- go run . # arguments to pass to the process
workingDirectory: ./go-service/
bindings: # optional array of bindings (ports, connection strings)
- port: 8050 # number port of the binding
protocol: http