forked from ProcessDryLab-master-project/ProcessDryLab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (49 loc) · 1.17 KB
/
docker-compose.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3.7"
services:
reposistory:
container_name: reposistory
image: dockerrepository:latest
build: ./Repository
ports:
- "4000:4000"
- "4001:4001"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS="http://+"
networks:
- data
extra_hosts:
- "localhost:host-gateway"
miner:
container_name: miner
image: dockerminer:latest
build: ./Miner
ports:
- "5000:5000"
networks:
- data
extra_hosts:
- "localhost:host-gateway"
serviceregistry:
container_name: serviceregistry
image: serviceregistry:latest
build: ./ServiceRegistry
ports:
- "3000:3000"
- "3001:3001"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS="http://+"
- ASPNETCORE_URLS="https://+;http://+"
- ASPNETCORE_HTTPS_PORT=4000
- ASPNETCORE_Kestrel__Certificates__Default__Password=1234
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/ServiceRegistry.pfx
volumes:
- ~/.aspnet/https:/https:ro
networks:
- data
extra_hosts:
- "localhost:host-gateway"
networks:
data:
driver: bridge