-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.debug.yml
46 lines (42 loc) · 1.22 KB
/
docker-compose.debug.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
41
42
43
44
45
46
# Please refer https://aka.ms/HTTPSinContainer on how to setup an https developer certificate for your ASP .NET Core service.
version: "3.4"
services:
app:
image: police-events-app
build:
context: .
dockerfile: App/Dockerfile
ports:
- 8080:80
- 8081:443
environment:
- ASPNETCORE_ENVIRONMENT=Development
volumes:
- ~/.aspnet/https:/https:ro
- ~/.vsdbg:/remote_debugger:rw
api:
image: police-events-api
build:
context: .
dockerfile: Api/Dockerfile
ports:
- 5330:5000
- 5331:5001
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:5000;https://+:5001
- ASPNETCORE_Kestrel__Certificates__Default__Password=${HTTPS_CERT_PWD}
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
volumes:
- ~/.aspnet/https:/https:ro
- ~/.vsdbg:/remote_debugger:rw
collector:
image: police-events-collector
build:
context: .
dockerfile: CollectorService/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
volumes:
- ~/.aspnet/https:/https:ro
- ~/.vsdbg:/remote_debugger:rw