-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 1.01 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
41
42
43
44
45
46
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
depends_on:
- rabbitmq
restart: on-failure
userservice:
image: ${DOCKER_REGISTRY-}userservice
build:
context: .
dockerfile: src/UserService/UserService.API/Dockerfile
depends_on:
- rabbitmq
restart: on-failure
notificationservice:
image: ${DOCKER_REGISTRY-}notificationservice
build:
context: .
dockerfile: src/NotificationService/Dockerfile
depends_on:
- rabbitmq
restart: on-failure
apigateway:
image: ${DOCKER_REGISTRY-}apigateway
build:
context: .
dockerfile: src/ApiGateway/Dockerfile
depends_on:
- orderservice
- userservice
restart: on-failure