2015-09-04 12:50:52 -04:00
|
|
|
# Environment
|
|
|
|
APP_ENV=production
|
|
|
|
APP_DEBUG=false
|
2015-07-12 15:01:42 -04:00
|
|
|
APP_KEY=SomeRandomString
|
|
|
|
|
2016-08-14 07:29:35 -04: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-04 12:50:52 -04:00
|
|
|
# Database details
|
2015-07-12 15:01:42 -04:00
|
|
|
DB_HOST=localhost
|
2015-09-04 12:50:52 -04:00
|
|
|
DB_DATABASE=database_database
|
|
|
|
DB_USERNAME=database_username
|
2016-01-02 11:24:09 -05:00
|
|
|
DB_PASSWORD=database_user_password
|
2015-07-12 15:01:42 -04:00
|
|
|
|
2015-09-04 12:50:52 -04:00
|
|
|
# Cache and session
|
2015-07-12 15:01:42 -04:00
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=file
|
2016-03-02 21:44:00 -05:00
|
|
|
# If using Memcached, comment the above and uncomment these
|
|
|
|
#CACHE_DRIVER=memcached
|
|
|
|
#SESSION_DRIVER=memcached
|
2015-07-12 15:01:42 -04:00
|
|
|
QUEUE_DRIVER=sync
|
2018-03-05 07:10:59 -05:00
|
|
|
# A different prefix is useful when multiple BookStack instances use the same caching server
|
2018-02-26 03:51:53 -05:00
|
|
|
CACHE_PREFIX=bookstack
|
2015-07-12 15:01:42 -04:00
|
|
|
|
2016-03-05 04:47:24 -05: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-07 18:00:34 -05: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 10:20:07 -05:00
|
|
|
# General auth
|
|
|
|
AUTH_METHOD=standard
|
|
|
|
|
2015-11-21 13:49:29 -05:00
|
|
|
# Social Authentication information. Defaults as off.
|
2015-09-04 12:50:52 -04:00
|
|
|
GITHUB_APP_ID=false
|
|
|
|
GITHUB_APP_SECRET=false
|
|
|
|
GOOGLE_APP_ID=false
|
|
|
|
GOOGLE_APP_SECRET=false
|
2018-10-13 17:50:58 -04:00
|
|
|
GOOGLE_SELECT_ACCOUNT=false
|
2017-11-26 10:41:29 -05:00
|
|
|
OKTA_BASE_URL=false
|
2018-01-31 15:11:17 -05:00
|
|
|
OKTA_APP_ID=false
|
|
|
|
OKTA_APP_SECRET=false
|
2018-02-01 02:53:08 -05:00
|
|
|
TWITCH_APP_ID=false
|
|
|
|
TWITCH_APP_SECRET=false
|
2018-02-01 12:26:19 -05:00
|
|
|
GITLAB_APP_ID=false
|
|
|
|
GITLAB_APP_SECRET=false
|
|
|
|
GITLAB_BASE_URI=false
|
2018-06-28 03:01:36 -04:00
|
|
|
DISCORD_APP_ID=false
|
|
|
|
DISCORD_APP_SECRET=false
|
2018-01-31 10:02:07 -05:00
|
|
|
|
2018-12-22 14:29:19 -05:00
|
|
|
|
|
|
|
# Disable default services such as Gravatar and Draw.IO
|
2016-01-02 11:24:09 -05:00
|
|
|
DISABLE_EXTERNAL_SERVICES=false
|
2018-12-22 14:29:19 -05:00
|
|
|
# Use custom avatar service, Sets fetch URL
|
|
|
|
# Possible placeholders: ${hash} ${size} ${email}
|
|
|
|
# If set, Avatars will be fetched regardless of DISABLE_EXTERNAL_SERVICES option.
|
|
|
|
# AVATAR_URL=https://seccdn.libravatar.org/avatar/${hash}?s=${size}&d=identicon
|
2015-12-09 17:30:55 -05:00
|
|
|
|
2016-01-15 18:21:47 -05:00
|
|
|
# LDAP Settings
|
|
|
|
LDAP_SERVER=false
|
|
|
|
LDAP_BASE_DN=false
|
|
|
|
LDAP_DN=false
|
|
|
|
LDAP_PASS=false
|
|
|
|
LDAP_USER_FILTER=false
|
|
|
|
LDAP_VERSION=false
|
2018-07-15 12:57:25 -04:00
|
|
|
# Do you want to sync LDAP groups to BookStack roles for a user
|
2018-07-02 13:09:39 -04:00
|
|
|
LDAP_USER_TO_GROUPS=false
|
2018-07-15 12:57:25 -04:00
|
|
|
# What is the LDAP attribute for group memberships
|
2018-07-02 13:09:39 -04:00
|
|
|
LDAP_GROUP_ATTRIBUTE="memberOf"
|
2018-07-15 12:57:25 -04:00
|
|
|
# Would you like to remove users from roles on BookStack if they do not match on LDAP
|
|
|
|
# If false, the ldap groups-roles sync will only add users to roles
|
2018-07-02 13:09:39 -04:00
|
|
|
LDAP_REMOVE_FROM_GROUPS=false
|
2018-10-27 16:14:19 -04:00
|
|
|
# Set this option to disable LDAPS Certificate Verification
|
|
|
|
LDAP_TLS_INSECURE=false
|
2016-01-15 18:21:47 -05:00
|
|
|
|
2015-09-04 12:50:52 -04:00
|
|
|
# Mail settings
|
2015-07-12 15:01:42 -04:00
|
|
|
MAIL_DRIVER=smtp
|
2015-09-04 12:50:52 -04:00
|
|
|
MAIL_HOST=localhost
|
|
|
|
MAIL_PORT=1025
|
2015-07-12 15:01:42 -04:00
|
|
|
MAIL_USERNAME=null
|
|
|
|
MAIL_PASSWORD=null
|
2018-01-31 10:02:07 -05:00
|
|
|
MAIL_ENCRYPTION=null
|
2018-02-21 04:24:19 -05:00
|
|
|
MAIL_FROM=null
|
|
|
|
MAIL_FROM_NAME=null
|