-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (55 loc) · 1.09 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '3'
services:
balance-service:
build: ./balance-service
volumes:
- ./balance-service:/usr/src/app
ports:
- "8000:80"
networks:
- network
product-service:
build: ./product-service
volumes:
- ./product-service:/usr/src/app
ports:
- "8001:80"
networks:
- network
location-service:
build: ./location-service
volumes:
- ./location-service:/usr/src/app
ports:
- "8002:80"
networks:
- network
rabbitmq:
image: 'rabbitmq:3.6-management-alpine'
ports:
# The standard AMQP protocol port
- '5672:5672'
# HTTP management UI
- '15672:15672'
networks:
- network
movement-service:
build: ./movement-service
volumes:
- ./movement-service:/usr/src/app
ports:
- "8003:80"
depends_on:
- rabbitmq
networks:
- network
movement-log-consumer:
build: ./movement-log-consumer
depends_on:
- rabbitmq
volumes:
- ./movement-log-consumer:/usr/src/app
networks:
- network
networks:
network: {}