2015-09-04 18:50:52 +02:00
|
|
|
# Environment
|
|
|
|
APP_ENV=production
|
|
|
|
APP_DEBUG=false
|
2015-07-12 21:01:42 +02:00
|
|
|
APP_KEY=SomeRandomString
|
|
|
|
|
2016-08-14 13:29:35 +02: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 18:50:52 +02:00
|
|
|
# Database details
|
2015-07-12 21:01:42 +02:00
|
|
|
DB_HOST=localhost
|
2015-09-04 18:50:52 +02:00
|
|
|
DB_DATABASE=database_database
|
|
|
|
DB_USERNAME=database_username
|
2016-01-02 17:24:09 +01:00
|
|
|
DB_PASSWORD=database_user_password
|
2015-07-12 21:01:42 +02:00
|
|
|
|
2015-09-04 18:50:52 +02:00
|
|
|
# Cache and session
|
2015-07-12 21:01:42 +02:00
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=file
|
2016-03-03 03:44:00 +01:00
|
|
|
# If using Memcached, comment the above and uncomment these
|
|
|
|
#CACHE_DRIVER=memcached
|
|
|
|
#SESSION_DRIVER=memcached
|
2015-07-12 21:01:42 +02:00
|
|
|
QUEUE_DRIVER=sync
|
2018-03-05 13:10:59 +01:00
|
|
|
# A different prefix is useful when multiple BookStack instances use the same caching server
|
2018-02-26 09:51:53 +01:00
|
|
|
CACHE_PREFIX=bookstack
|
2015-07-12 21:01:42 +02:00
|
|
|
|
2016-03-05 10:47:24 +01: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 00:00:34 +01: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 16:20:07 +01:00
|
|
|
# General auth
|
|
|
|
AUTH_METHOD=standard
|
|
|
|
|
2015-11-21 19:49:29 +01:00
|
|
|
# Social Authentication information. Defaults as off.
|
2015-09-04 18:50:52 +02:00
|
|
|
GITHUB_APP_ID=false
|
|
|
|
GITHUB_APP_SECRET=false
|
|
|
|
GOOGLE_APP_ID=false
|
|
|
|
GOOGLE_APP_SECRET=false
|
2017-11-26 16:41:29 +01:00
|
|
|
OKTA_BASE_URL=false
|
2018-01-31 21:11:17 +01:00
|
|
|
OKTA_APP_ID=false
|
|
|
|
OKTA_APP_SECRET=false
|
2018-02-01 08:53:08 +01:00
|
|
|
TWITCH_APP_ID=false
|
|
|
|
TWITCH_APP_SECRET=false
|
2018-02-01 18:26:19 +01:00
|
|
|
GITLAB_APP_ID=false
|
|
|
|
GITLAB_APP_SECRET=false
|
|
|
|
GITLAB_BASE_URI=false
|
2018-06-28 09:01:36 +02:00
|
|
|
DISCORD_APP_ID=false
|
|
|
|
DISCORD_APP_SECRET=false
|
2018-01-31 16:02:07 +01:00
|
|
|
|
2018-02-11 19:18:16 +01:00
|
|
|
# External services such as Gravatar and Draw.IO
|
2016-01-02 17:24:09 +01:00
|
|
|
DISABLE_EXTERNAL_SERVICES=false
|
2015-12-09 23:30:55 +01:00
|
|
|
|
2016-01-16 00:21:47 +01: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 18:57:25 +02:00
|
|
|
# Do you want to sync LDAP groups to BookStack roles for a user
|
2018-07-02 19:09:39 +02:00
|
|
|
LDAP_USER_TO_GROUPS=false
|
2018-07-15 18:57:25 +02:00
|
|
|
# What is the LDAP attribute for group memberships
|
2018-07-02 19:09:39 +02:00
|
|
|
LDAP_GROUP_ATTRIBUTE="memberOf"
|
2018-07-15 18:57:25 +02: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 19:09:39 +02:00
|
|
|
LDAP_REMOVE_FROM_GROUPS=false
|
2016-01-16 00:21:47 +01:00
|
|
|
|
2015-09-04 18:50:52 +02:00
|
|
|
# Mail settings
|
2015-07-12 21:01:42 +02:00
|
|
|
MAIL_DRIVER=smtp
|
2015-09-04 18:50:52 +02:00
|
|
|
MAIL_HOST=localhost
|
|
|
|
MAIL_PORT=1025
|
2015-07-12 21:01:42 +02:00
|
|
|
MAIL_USERNAME=null
|
|
|
|
MAIL_PASSWORD=null
|
2018-01-31 16:02:07 +01:00
|
|
|
MAIL_ENCRYPTION=null
|
2018-02-21 10:24:19 +01:00
|
|
|
MAIL_FROM=null
|
|
|
|
MAIL_FROM_NAME=null
|