Browse Source

Added tye integration

pull/29/head
Halil İbrahim Kalkan 6 years ago
parent
commit
8f4453e1a0
  1. 3
      .gitignore
  2. 3
      dev-cert/create-certificate.ps1
  3. 39
      tye.yaml

3
.gitignore

@ -362,4 +362,5 @@ src/EventHub.Web.Host/Logs/*
src/EventHub.IdentityServer/Logs/*
src/EventHub.HttpApi.Host/Logs/*
src/EventHub.HttpApi.HostWithIds/Logs/*
src/EventHub.DbMigrator/Logs/*
src/EventHub.DbMigrator/Logs/*
.tye/

3
dev-cert/create-certificate.ps1

@ -0,0 +1,3 @@
Remove-Item * -Include *.pfx
dotnet dev-certs https -v -ep localhost.pfx -p e8202f07-66e5-4619-be07-72ba76fde97f
cd..

39
tye.yaml

@ -0,0 +1,39 @@
name: myprojectname
services:
- name: redis
image: redis:6.0.10-alpine
bindings:
- port: 6379
connectionString: "${host}:${port}"
- name: identityserver
project: src/EventHub.IdentityServer/EventHub.IdentityServer.csproj
bindings:
- protocol: https
port: 44313
env:
- Kestrel__Certificates__Default__Path=../../dev-cert/localhost.pfx
- Kestrel__Certificates__Default__Password=e8202f07-66e5-4619-be07-72ba76fde97f
- name: api
project: src/EventHub.HttpApi.Host/EventHub.HttpApi.Host.csproj
bindings:
- protocol: https
port: 44362
env:
- Kestrel__Certificates__Default__Path=../../dev-cert/localhost.pfx
- Kestrel__Certificates__Default__Password=e8202f07-66e5-4619-be07-72ba76fde97f
- name: web
project: src/EventHub.Web/EventHub.Web.csproj
bindings:
- protocol: https
port: 44308
env:
- Kestrel__Certificates__Default__Path=../../dev-cert/localhost.pfx
- Kestrel__Certificates__Default__Password=e8202f07-66e5-4619-be07-72ba76fde97f
- name: web-admin
project: src/EventHub.Web.Admin/EventHub.Web.Admin.csproj
bindings:
- protocol: https
port: 44307
env:
- Kestrel__Certificates__Default__Path=../../dev-cert/localhost.pfx
- Kestrel__Certificates__Default__Password=e8202f07-66e5-4619-be07-72ba76fde97f
Loading…
Cancel
Save