-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
85 lines (63 loc) · 2.24 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
APP_ENV=dev
APP_KEY=[generate a new random key]
APP_DEBUG=true
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
# APP_LOG_QUERIES=0
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=database
TOKEN_EXPIRE=15
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=trellis
DB_USERNAME=trellis
DB_PASSWORD=[enter your password here]
# convenience setting for php.ini's max_execution_time (Apache, NGINX, etc may require configuration if > 60)
MAX_EXECUTION_TIME=60
# directory in storage in which to store temporary files
TEMP_DIRECTORY_PATH=temp
# maximum size in bytes of temp directory (defaults to 100 MB)
TEMP_DIRECTORY_SIZE_MAX=104857600
# directory in storage in which to store dump files
SNAPSHOT_DIRECTORY_PATH=snapshot
# maximum size in bytes of snapshot directory (defaults to 100 MB)
SNAPSHOT_DIRECTORY_SIZE_MAX=104857600
# minimum time between dumps (defaults to 1 minute)
SNAPSHOT_SECONDS_MIN=60
# Use job queue. Defaults to 0 so that a queue doesn't need to be setup to use.
USE_JOB_QUEUE=0
# Mail configuration
MAIL_DRIVER=mailgun
MAIL_FROM_ADDRESS=do-not-reply@trellisdemo.net
MAILGUN_DOMAIN=trellisdemo.net
MAILGUN_SECRET=****************
# Check disk space each day
CHECK_DISK_SPACE=1
# A comma delimited list of people to email when the disk space is too low
DISK_LOW_EMAILS=**** # by default an email is sent to the developers
# What time of day to check the disk
CHECK_DISK_SPACE_TIME=08:00
# Automatically clean out reports
CLEAN_REPORTS=1
# The time to clean the reports
CLEAN_REPORTS_TIME=07:00
# The number of days of reports to keep
CLEAN_REPORTS_AGE=14
# Whether or not reports should be automatically created each day
GENERATE_REPORTS=0
# The time to create the reports
GENERATE_REPORTS_TIME=00:00
# Whether or not unpublished forms should be included in reports
INCLUDE_UNPUBLISHED_FORMS=0
# Automatically generate new snapshots when data is added. Runs every 5 mins
EXPORT_SNAPSHOTS=0
# Automatically import uploads when they are uploaded
IMPORT_UPLOADS=0
# Adjust the batch sizes for report generation. Making these numbers larger can decrease the time to create
# reports at the expense of using more memory
# FORM_REPORT_BATCH_SIZE=200
# RESPONDENT_GEO_REPORT_BATCH_SIZE=200
# RESPONDENT_REPORT_BATCH_SIZE=400
# TIMING_REPORT_BATCH_SIZE=200