-
Notifications
You must be signed in to change notification settings - Fork 76
/
.env.example
executable file
·268 lines (214 loc) · 8.33 KB
/
.env.example
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
# See app.php in the config/ directory for a description of these variables.
APP_NAME=CDash
APP_ENV=production
APP_DEBUG=false
APP_KEY=
APP_URL=https://localhost
# The following two variables are only used for docker compose production installations.
SSL_CERTIFICATE_FILE=/etc/ssl/certs/ssl-cert-snakeoil.pem
SSL_CERTIFICATE_KEY_FILE=/etc/ssl/private/ssl-cert-snakeoil.key
NUM_WORKERS=1
# database.php
DB_DATABASE=cdash
DB_PASSWORD=secret
#DB_CONNECTION=
#DB_HOST=
#DB_PORT=
#DB_USERNAME=
# How long since the last submission before considering a project inactive.
# Set to 0 to always show all projects on viewProjects.php.
#ACTIVE_PROJECT_DAYS=7
# Should CDash automatically remove old builds?
#AUTOREMOVE_BUILDS=true
# How long should CDash store parsed input files (in hours?)
# Set to 0 if you do not wish to backup parsed submission files.
#BACKUP_TIMEFRAME=48
# Maximum number of builds allowed per project.
# When set to 0 projects are not limited by number of builds.
#BUILDS_PER_PROJECT=0
# Whether or not CDash submissions should trigger daily updates.
# Disable this if you want more fine grained control over when/how
# daily updates are triggered (e.g. cron).
#DAILY_UPDATES=true
# Should users be taken directly to a certain project when they arrive
# via index.php?
#DEFAULT_PROJECT=
# Whether to delete existing subprojects and/or dependencies that aren't
# mentioned by a newly uploaded Project.xml
#DELETE_OLD_SUBPROJECTS=true
# Use hostip.info to geolocate IP addresses
#GEOLOCATE_IP_ADDRESSES=true
# The GitHub App ID for this CDash installation.
# If this is set, CDash will posts commits checks for any GitHub repository
# that has this app installed.
#GITHUB_APP_ID=null
# Location of the private key that allows this CDash installation to act
# as a GitHub App.
#GITHUB_PRIVATE_KEY=
# Optional secret used to secure the GitHub webhook.
#GITHUB_WEBHOOK_SECRET=
# If set to true, CDash will always report a status of 'success' for its GitHub check.
# This option is useful if you don't want the CDash's GitHub check to block merging.
#GITHUB_ALWAYS_PASS=false
# API key for maps.google.com.
# Set to a valid value to display maps of sites.
#GOOGLE_MAP_API_KEY=null
# Maximum size of large text fields, in bytes. 0 for unlimited
#LARGE_TEXT_LIMIT=0
# Lock user account after N failed login attempts.
#LOCKOUT_ATTEMPTS=5
# How long to lock an account for? (in minutes)
#LOCKOUT_LENGTH=1
# The label on the "user" field for the Login form, defaults to Email.
# Consider changing this for clarity if you're authenticating against
# something other than an email address in LDAP.
#LOGIN_FIELD=Email
# Maximum per-project upload quota, in GB
#MAX_UPLOAD_QUOTA=10
## Settings related to user passwords
# Minimum password length for CDash accounts.
#MINIMUM_PASSWORD_LENGTH=5
# Of these four kinds of characters: (uppercase, lowercase, numbers, symbols)
# How many must be present in a password for it to be considered valid?
#MINIMUM_PASSWORD_COMPLEXITY=1
# For a given character type (defined above), how many characters in the
# password must match this type for the password to get credit for it?
# For example, if you set this value to 2, then a password would need at least
# two numbers to get a +1 to its complexity score for containing numbers.
#PASSWORD_COMPLEXITY_COUNT=1
# How long should passwords last for? (in days)
# Password rotation is disabled when this is set to 0.
#PASSWORD_EXPIRATION=0
# Unique password count (new password cannot match last X)
# 0 means you can never reuse a password.
#UNIQUE_PASSWORD_COUNT=0
# Should CDash should post build/test results to a build's pull request?
# This additionally requires CTEST_CHANGE_ID to be set by the client.
#NOTIFY_PULL_REQUEST=false
# Should CDash only register valid emails
#REGISTRATION_EMAIL_VERIFY=true
# Number of seconds to use for the basis of exponential backoff when requeuing
# asynchronous submissions.
#QUEUE_RETRY_BASE=5
# How long should CDash wait (in seconds) before requeueing an asychronous job?
#QUEUE_TIMEOUT=2000
# Is this CDash instance configured to use remote queue workers?
# Enabling this setting additionally requires QUEUE_CONNECTION to be set
# to some value other than 'sync'.
#REMOTE_WORKERS=false
# Should we show the most recent submission time for a project or subproject?
# Disabling this feature can improve rendering performance of index.php
# for projects with lots of subproject builds.
#SHOW_LAST_SUBMISSION=true
# Log when a page takes more this this many seconds to load.
#SLOW_PAGE_TIME=10
# How long authentication tokens should last before expiring (in seconds).
# Default is six months.
# 0 here means that tokens do not expire.
#TOKEN_DURATION=15811200
# Whitelist of projects that are allowed to have unlimited builds.
# example value:
# ["EmailProjectExample","BatchmakeExample"]
# The lack of spaces is important.
#UNLIMITED_PROJECTS=[]
# Should CDash compress test and coverage results in the database?
#USE_COMPRESSION=true
# Whether or not this CDash instance should attempt to communicate with
# VCS (eg. GitHub) API endpoints.
#USE_VCS_API=true
# logging.php
#LOG_CHANNEL=stack
# broadcasting.php
#BROADCAST_DRIVER=log
#PUSHER_APP_ID=
#PUSHER_APP_KEY=
#PUSHER_APP_SECRET=
#PUSHER_APP_CLUSTER=mt1
# cache.php
#CACHE_DRIVER=file
# queue.php
# Perform synchronous parsing of submissions by default.
# Set this to 'database' to turn on asynchronous parsing.
QUEUE_CONNECTION=database
# session.php
#SESSION_DRIVER=file
# Number of minutes before and idle session is allowed to expire.
#SESSION_LIFETIME=120
# mail.php
#MAIL_MAILER=smtp
#MAIL_HOST=smtp.mailgun.org
#MAIL_PORT=587
#MAIL_FROM_ADDRESS=
#MAIL_FROM_NAME=CDash
#MAIL_REPLY_ADDRESS=
#MAIL_USERNAME=null
#MAIL_PASSWORD=null
#MAIL_ENCRYPTION=null
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
# auth.php
# (currently, users or ldap, defaults to users if not defined)
# CDASH_AUTHENTICATION_PROVIDER=ldap
# Whether or not "normal" username+password authentication is enabled
# USERNAME_PASSWORD_AUTHENTICATION_ENABLED=true
# Whether or not "normal" username+password registration form submission is enabled
# USER_REGISTRATION_FORM_ENABLED=true
# Whether or not a Project administrator can register a user
# PROJECT_ADMIN_REGISTRATION_FORM_ENABLED=true
# Require all new projects to use authenticated submissions.
# Instance administrators can override this, and this setting has no effect on
# existing projects.
# REQUIRE_AUTHENTICATED_SUBMISSIONS=false
# ldap.php
#LDAP_HOSTS=
#LDAP_BASE_DN=
#LDAP_USERNAME=
#LDAP_PASSWORD=
# The type of LDAP server you are connecting to.
# Valid values are activedirectory, openldap, and freeipa.
#LDAP_PROVIDER=
# Whether or not to log LDAP activities. Useful for debugging.
#LDAP_LOGGING=
# ldap_auth.php
# The LDAP users attribute containing their email address ('mail' by default).
#LDAP_EMAIL_ATTRIBUTE=
# The LDAP users attribute used to locate your users. ('mail' by default).
#LDAP_LOCATE_USERS_BY=
# The LDAP users attribute used for authentication ('distinguishedname' by default).
#LDAP_BIND_USERS_BY=
# The LDAP attribute name that contains your users object GUID.
#LDAP_GUID=
# Additional LDAP query filters to restrict authorized user list
# Example: To restrict users to a specific Active Directory group:
# '(memberOf=cn=superCoolRescrictedGroup,cn=Users,dc=example,dc=com)'
# LDAP_FILTERS_ON=
# oauth2.php
# Whether or not to use GitHub as an OAuth2 provider
#GITHUB_ENABLE=false
#GITHUB_CLIENT_ID=
#GITHUB_CLIENT_SECRET=
# Whether or not to use GitLab as an OAuth2 provider
#GITLAB_ENABLE=false
#GITLAB_CLIENT_ID=
#GITLAB_CLIENT_SECRET=
# The GitLab server to authenticate against.
#GITLAB_DOMAIN=https://gitlab.com
# Whether or not to use Google as an OAuth2 provider
#GOOGLE_ENABLE=false
#GOOGLE_CLIENT_ID=
#GOOGLE_CLIENT_SECRET=
#
# saml2.php
# Whether or not to use SAML2 authentication
#SAML2_ENABLED=false
# What text to display in the SAML2 login button
#SAML2_LOGIN_TEXT=SAML2
# Whether or not to automatically register new users upon first login
#SAML2_AUTO_REGISTER_NEW_USERS=false
# Should normal users be allowed to create projects
# USER_CREATE_PROJECTS = false
# The maximum visibility level for user-created projects on this instance.
# Instance admins are able to override this setting and set project visibility
# to anything. Thus, this setting is only meaningful if USER_CREATE_PROJECTS=true.
# Options: PUBLIC, PROTECTED, PRIVATE
# MAX_PROJECT_VISIBILITY=PUBLIC