forked from crystaltaggart/dreamfactory_2.14.2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env-dist
265 lines (231 loc) · 10.3 KB
/
.env-dist
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
##==============================================================================
## Environment Settings
##==============================================================================
## Use the installer.sh file in this directory to easily edit these settings.
## By default each setting is set to its internal default and commented out.
##------------------------------------------------------------------------------
## Application Settings
##------------------------------------------------------------------------------
## Application name used in email templates and other displays
#APP_NAME=DreamFactory
## Encryption cipher options are AES-128-CBC or AES-256-CBC (default)
#APP_CIPHER=AES-256-CBC
## Return debugging trace in exceptions: true or false (default)
#APP_DEBUG=false
## Environment this installation is running in: local, production (default)
APP_ENV=local
## Use 'php artisan key:generate' to generate a new key. Key size must be 16, 24 or 32.
APP_KEY=
#APP_LOCALE=en
## LOG setting. Where and/or how the log file is setup. Options are single (default), daily, syslog, errorlog
#APP_LOG=single
## LOG Level. This is hierarchical and goes in the following order.
## DEBUG -> INFO -> NOTICE -> WARNING -> ERROR -> CRITICAL -> ALERT -> EMERGENCY
## If you set log level to WARNING then all WARNING, ERROR, CRITICAL, ALERT, and EMERGENCY
## will be logged. Setting log level to DEBUG will log everything.
#APP_LOG_LEVEL=warning
## When APP_LOG is set to 'daily', this setting dictates how many log files to keep.
#APP_LOG_MAX_FILES=5
## PHP Date and Time function timezone setting
#APP_TIMEZONE=UTC
## External URL representing this install
#APP_URL=http://localhost
## The starting point (page, application, etc.) when a browser points to the server root URL,
#DF_LANDING_PAGE=/dreamfactory/dist/index.html
##------------------------------------------------------------------------------
## Database Settings
##------------------------------------------------------------------------------
## DB_CONNECTION options: sqlite, mysql, pgsql, sqlsrv
#DB_CONNECTION=sqlite
#DB_HOST=
#DB_PORT=
#DB_DATABASE=
#DB_USERNAME=
#DB_PASSWORD=
## Defaults use utf8mb4 and utf8mb4_unicode_ci for MySQL-based database,
## may cause problems for pre-5.7.7 (MySQL) or pre-10.2.2 (MariaDB), use utf8
#DB_CHARSET=
#DB_COLLATION=
## Enable the logging for database queries
#DB_QUERY_LOG_ENABLED=true
## The default number of records to return at once for database queries
#DB_MAX_RECORDS_RETURNED=100000
# Default location to store SQLite3 database files, defaults to storage/databases
#DF_SQLITE_STORAGE=
## FreeTDS configuration (Linux and OS X when using DBLIB driver only)
## Location of SQL Server conf file, defaults to server/config/freetds/sqlsrv.conf
#DF_FREETDS_SQLSRV=
## Location of SAP/Sybase conf file, defaults to server/config/freetds/sqlanywhere.conf
#DF_FREETDS_SQLANYWHERE=
## Location of old Sybase conf file, defaults to server/config/freetds/sybase.conf
#DF_FREETDS_SYBASE=
## Enabling and location of dump file, defaults to disabled or default freetds.conf setting
#DF_FREETDS_DUMP=
## Location of connection dump file, defaults to disabled
#DF_FREETDS_DUMPCONFIG=
##------------------------------------------------------------------------------
## Cache Settings
##------------------------------------------------------------------------------
## CACHE_DRIVER options: apc, array, database, file, memcached, redis
#CACHE_DRIVER=file
## Cache TTL in minutes
#CACHE_DEFAULT_TTL=300
## Prefix added to all caching from this installation
#CACHE_PREFIX=dreamfactory
## Database cache settings if CACHE_DRIVER=file
#CACHE_PATH=storage/framework/cache/data
## Database cache settings if CACHE_DRIVER = database
#CACHE_TABLE=cache
## If CACHE_DRIVER = memcached or redis
#CACHE_HOST=
#CACHE_PORT=
#CACHE_PASSWORD=
## If CACHE_DRIVER = memcached
#CACHE_WEIGHT=
#CACHE_PERSISTENT_ID=
#CACHE_USERNAME=
## If CACHE_DRIVER = redis
#CACHE_DATABASE=2
## Which Redis client to use: predis or phpredis (PHP extension)
#REDIS_CLIENT=predis
##------------------------------------------------------------------------------
## Limit Cache - requires the API Limits feature
##------------------------------------------------------------------------------
## LIMIT_CACHE_DRIVER options: apc, array, database, file (default), memcached, redis
#LIMIT_CACHE_DRIVER=file
## Prefix added to all caching from this installation
#LIMIT_CACHE_PREFIX=dreamfactory
## If LIMIT_CACHE_DRIVER = file, default path is storage/framework/limit_cache
#LIMIT_CACHE_PATH=
## If LIMIT_CACHE_DRIVER = database, default table is limit_cache
#LIMIT_CACHE_TABLE=
## If LIMIT_CACHE_DRIVER = memcached or redis
#LIMIT_CACHE_HOST=
#LIMIT_CACHE_PORT=
#LIMIT_CACHE_PASSWORD=
## If LIMIT_CACHE_DRIVER = memcached
#LIMIT_CACHE_WEIGHT=
#LIMIT_CACHE_PERSISTENT_ID=
#LIMIT_CACHE_USERNAME=
## If LIMIT_CACHE_DRIVER=redis
#LIMIT_CACHE_DATABASE=9
##------------------------------------------------------------------------------
## Queuing Settings
##------------------------------------------------------------------------------
## QUEUE_DRIVER options: sync (default), database, beanstalkd, sqs, redis, null
#QUEUE_DRIVER=sync
## Name of the queue to use
#QUEUE_NAME=default
## Number of seconds after to retry a failed job
#QUEUE_RETRY_AFTER=90
## If QUEUE_DRIVER = database
#QUEUE_TABLE=jobs
## If QUEUE_DRIVER = sqs
#SQS_KEY=
#SQS_SECRET=
#SQS_REGION=us-east-1
#SQS_PREFIX=https://sqs.us-east-1.amazonaws.com/your-account-id
## If QUEUE_DRIVER = beanstalkd or redis
#QUEUE_HOST=
## If QUEUE_DRIVER = redis
#QUEUE_PORT=6379
#QUEUE_DATABASE=3
#QUEUE_PASSWORD=
##------------------------------------------------------------------------------
## Event Broadcasting Settings
##------------------------------------------------------------------------------
## Broadcast driver options: pusher, redis, log, null (default)
#BROADCAST_DRIVER=null
## If BROADCAST_DRIVER = pusher
#PUSHER_APP_ID=
#PUSHER_APP_KEY=
#PUSHER_APP_SECRET=
## If BROADCAST_DRIVER = redis
#BROADCAST_HOST=
#BROADCAST_PORT=6379
#BROADCAST_DATABASE=1
#BROADCAST_PASSWORD=
##------------------------------------------------------------------------------
## DreamFactory Settings
##------------------------------------------------------------------------------
## By default DreamFactory uses email address for user authentication.
## You can change this to use 'username'. Example: DF_LOGIN_ATTRIBUTE=username
#DF_LOGIN_ATTRIBUTE=email
## By default DreamFactory uses its own database table to authenticate all users.
## You can change that by setting the alternate auth flag below to 'true'.
## This will then allow you to configure the DreamFactory 'user' service with
## another DB service and table/fields information required for your
## custom/alternate authentication.
#DF_ENABLE_ALTERNATE_AUTH=false
## Uncomment and set the following to true to enable windows authentication for AD based SSO.
#DF_ENABLE_WINDOWS_AUTH=false
## New user confirmation code length. Max/Default is 32. Minimum is 5.
#DF_CONFIRM_CODE_LENGTH=32
## Confirmation code expiration. Default is 1440 minutes (24 hours)
#DF_CONFIRM_CODE_TTL=1440
## JSON Web Token session management, encryption secret, defaults to APP_KEY value
#JWT_SECRET=
## JWT time to live in minutes
#DF_JWT_TTL=60
## Refresh time to live in minutes, defaults to 2 weeks
#DF_JWT_REFRESH_TTL=20160
## Allow sessions to be refreshable forever, true or false
#DF_ALLOW_FOREVER_SESSIONS=false
## You may include one or more field(s) from the user table as custom JWT claim.
## You can enter multiple fields separated by comma. NO SPACE IS ALLOWED in env value.
#DF_JWT_USER_CLAIM=
## User URLs
#DF_CONFIRM_RESET_URL='/dreamfactory/dist/#/reset-password'
#DF_CONFIRM_INVITE_URL='/dreamfactory/dist/#/user-invite'
#DF_CONFIRM_REGISTER_URL='/dreamfactory/dist/#/register-confirm'
##------------------------------------------------------------------------------
## Storage Settings
##------------------------------------------------------------------------------
## File chunk size for downloadable files in Byte. Default is 10MB
#DF_FILE_CHUNK_SIZE=10000000
##------------------------------------------------------------------------------
## Scripting Settings
##------------------------------------------------------------------------------
## 'all' to disable all scripting, or comma-delimited list of v8js, nodejs, python, and/or php
#DF_SCRIPTING_DISABLE=
## path to the installed nodejs executable
#DF_NODEJS_PATH=/usr/local/bin/node
## path to the installed python executable
#DF_PYTHON_PATH=/usr/local/bin/python
## protocol to use for Node.js and Python when making internal calls back to DreamFactory, http or https
#DF_SCRIPTING_DEFAULT_PROTOCOL=http
## Characters limit for script to run inline. When this limit exceeds script will be written in file and executed.
## This applies to NodeJS and Python scripting only. NOTE: This is number of characters in script.
#DF_SCRIPT_INLINE_CHAR_LIMIT=25000
##------------------------------------------------------------------------------
## API Settings
##------------------------------------------------------------------------------
## By default, API calls take the form of http://<server_name>/<api_route_prefix>/v<version_number>
#DF_API_ROUTE_PREFIX=api
## By default, API calls take the form of http://<server_name>/<status_route_prefix>
#DF_STATUS_ROUTE_PREFIX=status
## By default, API calls take the form of http://<server_name>/<storage_route_prefix>/<storage_service_name>/<file_path>
#DF_STORAGE_ROUTE_PREFIX=
## XML root tag for http responses.
#DF_XML_ROOT=dfapi
## Most API calls return a resource array or a single resource, if array, do we wrap it?
#DF_ALWAYS_WRAP_RESOURCES=true
#DF_RESOURCE_WRAPPER=resource
## Default content-type of response when accepts header is missing or empty.
#DF_CONTENT_TYPE=application/json
## Lookup management, comma-delimited list of allowed lookup modifying functions like urlencode, trim, etc.
#DF_LOOKUP_MODIFIERS=
## Path to package file/folder/url to import during instance launch.
#DF_PACKAGE_PATH=
## Where the installation is coming from
DF_INSTALL=GitHub
##------------------------------------------------------------------------------
## Managed Settings
##------------------------------------------------------------------------------
#DF_MANAGED=false
#DF_MANAGED_LOG_PATH=/data/logs/instance
#DF_MANAGED_CACHE_PATH=/tmp/.df-cache
#DF_MANAGED_LOG_ROTATE_COUNT=5
#DF_MANAGED_LOG_FILE_NAME=
#DF_LIMITS_CACHE_STORE=dfe-limits
#DF_LIMITS_CACHE_PATH=/tmp/.df-cache/.limits