##==============================================================================
## 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
##------------------------------------------------------------------------------

## 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=base64:s6OQnMEPo6/upo4InH986dq7XNj5Z6XY+xy/W6hzylg=
#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
## Application name used in email templates and other displays
#APP_NAME=DreamFactory
## 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=mysql
DB_HOST=$DDKITSIP
DB_PORT=$DDKITSDBPORT
DB_DATABASE=$MYSQL_DATABASE
DB_USERNAME=$MYSQL_USER
DB_PASSWORD=$MYSQL_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=
## The default number of records to return at once for database queries
#DB_MAX_RECORDS_RETURNED=1000
# 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

## 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
## 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

##------------------------------------------------------------------------------
## 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>/]status
#DF_STATUS_ROUTE_PREFIX=
## 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
