mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
656 B
30 lines
656 B
name: VotingSample
|
|
ingress:
|
|
- name: ingress
|
|
bindings:
|
|
- port: 8080
|
|
rules:
|
|
- path: /vote
|
|
service: vote
|
|
- path: /results
|
|
service: results
|
|
services:
|
|
- name: vote
|
|
project: vote/vote.csproj
|
|
- name: redis
|
|
image: redis
|
|
bindings:
|
|
- port: 6379
|
|
connectionString: ${host}:${port}
|
|
- name: worker
|
|
project: worker/worker.csproj
|
|
- name: postgres
|
|
image: postgres
|
|
env:
|
|
- name: POSTGRES_PASSWORD
|
|
value: "pass@word1"
|
|
bindings:
|
|
- port: 5432
|
|
connectionString: Server=${host};Port=${port};User Id=postgres;Password=${env:POSTGRES_PASSWORD};
|
|
- name: results
|
|
project: results/results.csproj
|
|
|