-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 1.24 KB
/
docker-compose.yml
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
version: "3.4"
services:
tags.api:
image: tagsapi
build:
context: ./
dockerfile: ./src/TagsService/Dockerfile
args:
DOTNET_BUILD_CONFIGURATION: Debug
ASPNETCORE_ENVIRONMENT: Development
ports:
- "9201:443"
environment:
ASPNETCORE_HTTPS_PORT: 9201
ASPNETCORE_URLS: https://+
ASPNETCORE_Kestrel__Certificates__Default__Password: Qwerty123
ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
volumes:
- ~/.aspnet/https:/https:ro
proxy.api:
image: proxy.api
build:
context: ./
dockerfile: ./src/RemoteProxyApi/Dockerfile
args:
DOTNET_BUILD_CONFIGURATION: Debug
ASPNETCORE_ENVIRONMENT: Development
ports:
- "9000:80"
- "9001:443"
environment:
ASPNETCORE_HTTPS_PORT: 9001
ASPNETCORE_URLS: https://+;http://+
ASPNETCORE_Kestrel__Certificates__Default__Password: Qwerty123
ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx
depends_on:
- tags.api
volumes:
- ~/.aspnet/https:/https:ro