-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
74 lines (70 loc) · 1.82 KB
/
docker-compose.local.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
services:
rabbitmq:
image: rabbitmq:3-management
# ports:
# - '5672:5672'
# - '15672:15672'
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
orderservice:
image: ${DOCKER_REGISTRY-}orderservice
build:
context: .
dockerfile: src/OrderService/OrderService.API/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=80
- RabbitMQ__Host=rabbitmq
# ports:
# - '5001:80'
depends_on:
- rabbitmq
restart: on-failure
userservice:
image: ${DOCKER_REGISTRY-}userservice
build:
context: .
dockerfile: src/UserService/UserService.API/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=80
- RabbitMQ__Host=rabbitmq
# ports:
# - '5002:80'
depends_on:
- rabbitmq
restart: on-failure
notificationservice:
image: ${DOCKER_REGISTRY-}notificationservice
build:
context: .
dockerfile: src/NotificationService/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- RabbitMQ__Host=rabbitmq
# ports:
# - '5003:80'
depends_on:
- rabbitmq
restart: on-failure
apigateway:
image: ${DOCKER_REGISTRY-}apigateway
build:
context: .
dockerfile: src/ApiGateway/Dockerfile
ports:
- '8080:8080'
# - '8081:8081'
depends_on:
- orderservice
- userservice
restart: on-failure
volumes:
- ${USERPROFILE}/.aspnet/https:/https/
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: 8080
# ASPNETCORE_HTTPs_PORTS: 8081
# ASPNETCORE_Kestrel__Certificates__Default__Password: develop
# ASPNETCORE_Kestrel__Certificates__Default__Path: /https/aspnetapp.pfx