2015-09-05 00:50:52 +08:00
|
|
|
# Environment
|
|
|
|
APP_ENV=production
|
|
|
|
APP_DEBUG=false
|
2015-07-13 03:01:42 +08:00
|
|
|
APP_KEY=SomeRandomString
|
|
|
|
|
2016-08-14 19:29:35 +08:00
|
|
|
# The below url has to be set if using social auth options
|
|
|
|
# or if you are not using BookStack at the root path of your domain.
|
|
|
|
# APP_URL=http://bookstack.dev
|
|
|
|
|
2015-09-05 00:50:52 +08:00
|
|
|
# Database details
|
2015-07-13 03:01:42 +08:00
|
|
|
DB_HOST=localhost
|
2015-09-05 00:50:52 +08:00
|
|
|
DB_DATABASE=database_database
|
|
|
|
DB_USERNAME=database_username
|
2016-01-03 00:24:09 +08:00
|
|
|
DB_PASSWORD=database_user_password
|
2015-07-13 03:01:42 +08:00
|
|
|
|
2015-09-05 00:50:52 +08:00
|
|
|
# Cache and session
|
2015-07-13 03:01:42 +08:00
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=file
|
2016-03-03 10:44:00 +08:00
|
|
|
# If using Memcached, comment the above and uncomment these
|
|
|
|
#CACHE_DRIVER=memcached
|
|
|
|
#SESSION_DRIVER=memcached
|
2015-07-13 03:01:42 +08:00
|
|
|
QUEUE_DRIVER=sync
|
|
|
|
|
2016-03-05 17:47:24 +08:00
|
|
|
# Memcached settings
|
|
|
|
# If using a UNIX socket path for the host, set the port to 0
|
|
|
|
# This follows the following format: HOST:PORT:WEIGHT
|
|
|
|
# For multiple servers separate with a comma
|
|
|
|
MEMCACHED_SERVERS=127.0.0.1:11211:100
|
|
|
|
|
2015-12-08 07:00:34 +08:00
|
|
|
# Storage
|
|
|
|
STORAGE_TYPE=local
|
|
|
|
# Amazon S3 Config
|
|
|
|
STORAGE_S3_KEY=false
|
|
|
|
STORAGE_S3_SECRET=false
|
|
|
|
STORAGE_S3_REGION=false
|
|
|
|
STORAGE_S3_BUCKET=false
|
|
|
|
# Storage URL
|
|
|
|
# Used to prefix image urls for when using custom domains/cdns
|
|
|
|
STORAGE_URL=false
|
|
|
|
|
2016-01-17 23:20:07 +08:00
|
|
|
# General auth
|
|
|
|
AUTH_METHOD=standard
|
|
|
|
|
2015-11-22 02:49:29 +08:00
|
|
|
# Social Authentication information. Defaults as off.
|
2015-09-05 00:50:52 +08:00
|
|
|
GITHUB_APP_ID=false
|
|
|
|
GITHUB_APP_SECRET=false
|
|
|
|
GOOGLE_APP_ID=false
|
|
|
|
GOOGLE_APP_SECRET=false
|
2017-11-26 23:41:29 +08:00
|
|
|
OKTA_BASE_URL=false
|
|
|
|
OKTA_KEY=false
|
|
|
|
OKTA_SECRET=false
|
2015-09-05 00:50:52 +08:00
|
|
|
|
2016-01-03 00:24:09 +08:00
|
|
|
# External services such as Gravatar
|
|
|
|
DISABLE_EXTERNAL_SERVICES=false
|
2015-12-10 06:30:55 +08:00
|
|
|
|
2016-01-16 07:21:47 +08:00
|
|
|
# LDAP Settings
|
|
|
|
LDAP_SERVER=false
|
|
|
|
LDAP_BASE_DN=false
|
|
|
|
LDAP_DN=false
|
|
|
|
LDAP_PASS=false
|
|
|
|
LDAP_USER_FILTER=false
|
|
|
|
LDAP_VERSION=false
|
|
|
|
|
2015-09-05 00:50:52 +08:00
|
|
|
# Mail settings
|
2015-07-13 03:01:42 +08:00
|
|
|
MAIL_DRIVER=smtp
|
2015-09-05 00:50:52 +08:00
|
|
|
MAIL_HOST=localhost
|
|
|
|
MAIL_PORT=1025
|
2015-07-13 03:01:42 +08:00
|
|
|
MAIL_USERNAME=null
|
|
|
|
MAIL_PASSWORD=null
|
2016-03-05 17:47:24 +08:00
|
|
|
MAIL_ENCRYPTION=null
|