-
Notifications
You must be signed in to change notification settings - Fork 0
/
tye.yaml
28 lines (28 loc) · 859 Bytes
/
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
# 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: unfrozen-networking-test
services:
- name: chat-api
project: backend/Chat.API/Chat.API.csproj
bindings:
- port: 8081
env:
- ConnectionStrings:ChatApp="Host=localhost; Port=5551; Database=chat-db; Username=postgres; Password=123;"
# - ConnectionStrings:ChatApp="Host=localhost; Port=5551; Database=chat-db;"
# - PGPASSWORD=12345
# - PGUSER=chat-backend
tags:
- bc
- name: chat-db
image: postgres:12
bindings:
- connectionString: "Host=${host}; Port=${port}; Database=chat-db; Username=postgres; Password=123;"
port: 5431
env:
- POSTGRES_PASSWORD=123
tags:
- db