-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (54 loc) · 1.21 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
version: '3.3'
services:
cd-config:
image: cd-config:latest
cd-auth-service:
image: cd-auth-service:latest
cd-gateway:
image: cd-gateway:latest
ports:
- "8080:8761"
cd-discovery:
image: cd-discovery:latest
ports:
- "8765:8765"
cd-query:
image: cd-query:latest
depends_on:
- elasticsearch
- mongo
environment:
- WAIT_HOSTS=elasticsearch:9200,mongo:27017
cd-service:
image: cd-service:latest
depends_on:
- elasticsearch
- mongo
- cd-otp-service
environment:
- WAIT_HOSTS=elasticsearch:9200,mongo:27017
cd-otp-service:
image: cd-otp-service:latest
elasticsearch:
image: elasticsearch:latest
command: elasticsearch
environment:
- action.auto_create_index=true
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
interval: 30s
timeout: 30s
retries: 3
mongo_connector:
build:
./mongo-connector
depends_on:
- mongo
- elasticsearch
environment:
- WAIT_HOSTS=elasticsearch:9200,mongo:27017
mongo:
image: mongo:latest
command: "mongod --replSet rs0"
ports:
- "27017:27017"