-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 1.32 KB
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 1.32 KB
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
services:
dockercomposetest_api:
image: fritzthecat9/dockercomposetest_api:${SYSTEM_TAG}
container_name: dockercomposetest_api
platform: ${PLATFORM}
build:
context: .
dockerfile: DockerComposeTest.Api/Dockerfile
ports:
- 5000:5000
- 5001:5001
environment:
- ASPNETCORE_URLS=https://+:5001;http://+:5000
- ASPNETCORE_HTTP_PORTS=5000
- ASPNETCORE_HTTPS_PORTS=5001
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_Kestrel__Certificates__Default__Password=password
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
volumes:
- "${HOME_VARIABLE}/.aspnet/https:/https/"
dockercomposetest_api2:
image: fritzthecat9/dockercomposetest_api2:${SYSTEM_TAG}
container_name: dockercomposetest_api2
platform: ${PLATFORM}
build:
context: .
dockerfile: DockerComposeTest.Api2/Dockerfile
ports:
- 5002:5002
- 5003:5003
environment:
- ASPNETCORE_URLS=https://+:5003;http://+:5002
- ASPNETCORE_HTTP_PORTS=5002
- ASPNETCORE_HTTPS_PORTS=5003
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_Kestrel__Certificates__Default__Password=password
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
volumes:
- "${HOME_VARIABLE}/.aspnet/https:/https/"