-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
97 lines (91 loc) · 2.4 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3'
services:
report-app:
restart: always
image: hubidu27/report-app:latest
ports:
- 4000:4000
links:
- report-service
environment:
- REPORT_SERVICE_HOST=${REPORT_SERVICE_HOST}
- DEPLOYMENT_SERVICE_HOST=${DEPLOYMENT_SERVICE_HOST}
volumes:
- /data/e2e-reports:/opt/app/reports
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
report-importer:
restart: always
image: hubidu27/report-importer:latest
links:
- mongodb
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- /data/e2e-reports:/go/src/app/reports
report-uploader:
restart: always
image: hubidu27/report-uploader:latest
ports:
- 8003:8000
links:
- mongodb
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- /data/e2e-reports:/go/src/app/reports
report-service:
restart: always
image: hubidu27/report-service:latest
ports:
- 8001:8000
links:
- mongodb
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- /data/e2e-reports:/go/src/app/reports
deployment-service:
restart: always
image: hubidu27/deployment-service:latest
ports:
- 8002:8000
links:
- mongodb
environment:
- NOTIFICATION_RECIPIENTS=${NOTIFICATION_RECIPIENTS}
- HIPCHAT_URL=${HIPCHAT_URL}
- HIPCHAT_API_TOKEN=${HIPCHAT_API_TOKEN}
volumes:
- /etc/ssl/certs:/etc/ssl/certs
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
alert-service:
restart: always
image: hubidu27/alert-service:latest
links:
- report-service
environment:
- JOB_INTERVAL=30
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=25
- ALERT_FROM=${ALERT_FROM}
- ALERT_RECIPIENTS=${ALERT_RECIPIENTS}
- ALERT_OWNERKEYS=${ALERT_OWNERKEYS}
- BAMBOO_HOST=${BAMBOO_HOST}
- BAMBOO_USER=${BAMBOO_USER}
- BAMBOO_PASSWORD=${BAMBOO_PASSWORD}
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
mongodb:
restart: always
image: mongo:3.6.4
command: mongod --smallfiles --quiet --logpath=/dev/null
ports:
- 27017:27017
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- /data/db:/data/db
- /data/configdb:/data/configdb