forked from ExpediaGroup/cyclotron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (52 loc) · 1.15 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
version: '2.3'
services:
mysql:
image: mysql:5.7.24
ports:
- 3306
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./conf/mysql:/docker-entrypoint-initdb.d
command: [--ssl=0]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-uroot", "-proot"]
interval: 10s
timeout: 60s
retries: 5
mongodb:
image: mongo:3.6.8-stretch
volumes:
- /data/db
ports:
- 27017
aac:
image: aac
volumes:
- ./conf/aac/application-local.yml:/home/aac/aac/src/main/resources/application-local.yml
ports:
- "8080:8080"
healthcheck:
test: ["CMD", "curl", "-k", "-f", "http://localhost:8080/aac/login"]
interval: 10s
timeout: 180s
retries: 15
depends_on:
mysql:
condition: service_healthy
links:
- mysql
cyclotron:
image: cyclotron
links:
- mongodb
volumes:
- ./conf/cyclotron/config.js:/home/node/cyclotron-svc/config/config.js
- ./supervisord.conf:/home/node/supervisord.conf
ports:
- "8077:8077"
- "777:777"
- "80:80"
- "8088:8088"
depends_on:
- mongodb