-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
156 lines (143 loc) · 6.04 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
mongodb:
image: mongo:latest
container_name: mongodb
command: mongod --smallfiles
ports:
- "27017:27017"
volumes:
- ./mongo:/data/db:rw
volume_driver: local
hygieia-api:
image: hygieia-api:latest
container_name: hygieia-api
ports:
- "8080:8080"
volumes:
- ./logs:/hygieia/logs
links:
- mongodb:mongo
environment:
- KEY_ENCRYPTOR_PASSWORD=T/6XBwcLZ8uFvA1dCO/VUR9olDHQ2g4W
hygieia-ui:
image: hygieia-ui:latest
container_name: hygieia-ui
ports:
- "8088:80"
links:
- hygieia-api
hygieia-github-scm-collector:
image: hygieia-github-scm-collector:latest
container_name: hygieia-github
volumes:
- ./logs:/hygieia/logs
links:
- mongodb:mongo
- hygieia-api
# place any values you want to change in docker-compose.override.yml
environment:
- GITHUB_HOST=github.com
- GITHUB_CRON=0 0/2 * * * *
- GITHUB_COMMIT_THREASHOLD_DAYS=15
- KEY_ENCRYPTOR_PASSWORD=T/6XBwcLZ8uFvA1dCO/VUR9olDHQ2g4W
hygieia-jira-feature-collector:
image: hygieia-jira-feature-collector:latest
container_name: hygieia-jira
volumes:
- ./logs:/hygieia/logs
links:
- mongodb:mongo
- hygieia-api
environment:
# you can override these by creating a docker-compose.overider.yml and put in entries like this:
# #REQUIRED Entries
- JIRA_BASE_URL=https://ninjafactory.atlassian.net
#64-bit encoded credentials with the pattern username:password
#on a mac you con create them with : echo "username:password" | base64
#reference: https://www.base64decode.org/
- JIRA_CREDENTIALS=YW5nZWwuc2FuY2hlejptb3JjaXlhNDQ=
#OPTIONAL - you may want ot tweek these
- JIRA_CRON=0 0/5 * * * *
#Start dates from which to begin collector data, if no other data is present - usually, a month back is appropriate (required)
- JIRA_DELTA_START_DATE=2016-02-01T00:00:00.000000
- JIRA_MASTER_START_DATE=2016-02-01T00:00:00.000000
#OPTIONAL Overrides if you need them
#Page size for data calls (Jira maxes at 1000)
- JIRA_PAGE_SIZE=1000
#Jira Connection Details
# - JIRA_PROXY_URL=
# - JIRA_PROXY_PORT=
# Trending Query: Number of days in a sprint (not-required)
- JIRA_SPRINT_DAYS=60
# Trending Query: Length of sprint week (not-required)
- JIRA_SPRINT_END_PRIOR=7
#Scheduled Job prior minutes to recover data created during execution time (usually, 2 minutes is enough)
- JIRA_SCHEDULED_PRIOR_MIN=2
#Delta change date that modulates the collector item task - should be about as far back as possible, in ISO format (required)
- JIRA_DELTA_COLLECTOR_ITEM_START_DATE=2017-01-01T00:00:00.000000
#Jira Connection Details
- JIRA_QUERY_ENDPOINT=rest/api/2/
#OAuth2.0 token credentials (currently not supported in this version)
# - JIRA_OAUTH_AUTH_TOKEN=sdfghjkl==
# - JIRA_OAUTH_REFRESH_TOKEN=sdfagheh==
# - JIRA_OAUTH_REDIRECT_URL=uri.this.is.test:uri
# - JIRA_OAUTH_EXPIRE_TIME=234567890987
# In Jira, general IssueType IDs are associated to various "issue"
# attributes. However, there is one attribute which this collector's
# queries rely on that change between different instantiations of Jira.
# Please provide a numerical ID reference to your instance's IssueType for
# the lowest level of Issues (e.g., "user story") specific to your Jira
# instance. Note: You can retrieve your instance's IssueType ID
# listings via the following URI: https://[your-jira-domain-name]/rest/api/2/issuetype/
- JIRA_ISSUE_TYPE_ID=10100
# In Jira, your instance will have its own custom field created for "sprint" or "timebox" details,
# which includes a list of information. This field allows you to specify that data field for your
# instance of Jira. Note: You can retrieve your instance's sprint data field name
# via the following URI, and look for a package name com.atlassian.greenhopper.service.sprint.Sprint;
# your custom field name describes the values in this field:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
- JIRA_SPRINT_DATA_FIELD_NAME=customfield_10113
# In Jira, your instance will have its own custom field created for "super story" or "epic" back-end ID,
# which includes a list of information. This field allows you to specify that data field for your instance
# of Jira. Note: You can retrieve your instance's epic ID field name via the following URI where your
# queried user story issue has a super issue (e.g., epic) tied to it; your custom field name describes the
# epic value you expect to see, and is the only field that does this for a given issue:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
- JIRA_EPIC_FIELD_NAME=customfield_10003
# In Jira, your instance will have its own custom field created for "story points"
# This field allows you to specify that data field for your instance
# of Jira. Note: You can retrieve your instance's storypoints ID field name via the following URI where your
# queried user story issue has story points set on it; your custom field name describes the
# story points value you expect to see:
# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]
- JIRA_STORY_POINTS_FIELD_NAME=customfield_10115
hygieia-sonar-codequality-collector:
image: hygieia-sonar-codequality-collector:latest
container_name: hygieia-sonar-codequality
volumes:
- ./logs:/hygieia/logs
links:
- mongodb:mongo
- hygieia-api
environment:
- SONAR_CRON=0 0/5 * * * *
- SONAR_URL=http://localhost:9000/sonar
- SONAR_VERSION=6
hygieia-bitbucket-scm-collector:
image: hygieia-bitbucket-scm-collector:latest
container_name: hygieia-bitbucket
volumes:
- ./logs:/hygieia/logs
links:
- mongodb:mongo
- hygieia-api
environment:
#mandatory
- KEY_ENCRYPTOR_PASSWORD=T/6XBwcLZ8uFvA1dCO/VUR9olDHQ2g4W
- BITBUCKET_HOST=api.bitbucket.org/
- BITBUCKET_API=/2.0/repositories/
- BITBUCKET_CRON=0 0/5 * * * *
- BITBUCKET_PRODUCT=cloud
#Maximum number of days to go back in time when fetching commits. Only applicable to Bitbucket Cloud.
- BITBUCKET_COMMIT_THRESHOLD_DAYS=15
#Page size for rest calls. Only applicable to Bitbucket Server.
- BITBUCKET_PAGE_SIZE=25