-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
83 lines (81 loc) · 2.38 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.5"
#Docker host machine IP - copy below export command without # and execute before executing docker-compose command. or copy into bash_profile or bash.rc file.
#export DOCKER_HOST_IP=`ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'`
services:
eureka-discovery-service:
build: ./microservices/support/eureka-discovery-service
ports:
- "8761:8761"
redis:
image: "redis:alpine"
#hostname: redis
ports:
- "6379:6379"
volumes:
- ./data/redis:/data
zuul-edge-service:
build: ./microservices/support/zuul-edge-service
ports:
- "8762:8762"
depends_on:
- eureka-discovery-service
- redis
links:
- eureka-discovery-service:eureka-discovery-service
- redis:redis
auth-service:
build: ./microservices/support/auth-service
ports:
- "8084:8084"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service
antonyms-query-service:
build: ./microservices/core/antonyms-query-service
ports:
- "8083:8083"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service
hystrix-dashboard-service:
build: ./microservices/support/hystrix-dashboard-service
ports:
- "7979:7979"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service
sounds-like-query-service:
build: ./microservices/core/sounds-like-query-service
ports:
- "8081:8081"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service
synonyms-query-service:
build: ./microservices/core/synonyms-query-service
ports:
- "8082:8082"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service
turbine-aggregator-service:
build: ./microservices/support/turbine-aggregator-service
ports:
- "7878:7878"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service
word-query-service:
build: ./microservices/composite/word-query-service
ports:
- "8080:8080"
depends_on:
- eureka-discovery-service
links:
- eureka-discovery-service:eureka-discovery-service