-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-local.yml
66 lines (58 loc) · 1.11 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
version: '3'
services:
mongo:
image: 'mongo:3.4.1'
ports:
- '27017:27017'
volumes:
- 'mongo:/data/db'
rabbitmq:
image: rabbitmq:management
ports:
- "5672:5672"
- "15672:15672"
tripmanagementquery:
image: aista/trip-management-query
environment:
- RABBIT_HOST=rabbitmq
- MONGO_HOST=mongo
ports:
- "8080"
depends_on:
- rabbitmq
- mongo
- discoveryservice
discoveryservice:
image: aista/eureka
ports:
- "8761:8761"
gmapsadapter:
image: aista/gmaps-adapter
environment:
- EUREKA_SERVER=discoveryservice
ports:
- '8080'
depends_on:
- discoveryservice
calculationservice:
image: aista/calculation-service
environment:
- EUREKA_SERVER=discoveryservice
ports:
- '8080'
depends_on:
- gmapsadapter
- discoveryservice
tripmanagementcmd:
build: ./
environment:
- RABBIT_HOST=rabbitmq
- MONGO_HOST=mongo
ports:
- "8080"
depends_on:
- rabbitmq
- mongo
- discoveryservice
volumes:
mongo: