-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·63 lines (57 loc) · 1.31 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
version: '3'
services:
config:
image: samiraghayarov/config-service
ports:
- 8762:8762
hostname: config
mongo:
image: mvertes/alpine-mongo
ports:
- 27017:27017
hostname: mongo
discovery:
image: samiraghayarov/discovery-service
ports:
- 8761:8761
hostname: discovery
environment:
CONFIG_SERVER: "http://config:8762"
depends_on:
- config
fetch-preferences-service:
image: samiraghayarov/fetch-preferences-service
ports:
- 8764:8764
environment:
MONGO_DB: "mongo"
CONFIG_SERVER: "http://config:8762"
EUREKA_SERVER: "http://discovery:8761/eureka"
depends_on:
- mongo
- config
- discovery
store-preference-service:
image: samiraghayarov/store-preference-service
ports:
- 8763:8763
environment:
MONGO_DB: "mongo"
CONFIG_SERVER: "http://config:8762"
EUREKA_SERVER: "http://discovery:8761/eureka"
depends_on:
- mongo
- config
- discovery
gateway:
image: samiraghayarov/gateway-service
ports:
- 9090:9090
environment:
CONFIG_SERVER: "http://config:8762"
EUREKA_SERVER: "http://discovery:8761/eureka"
depends_on:
- config
- discovery
- fetch-preferences-service
- store-preference-service