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
|
|
|
|
|
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
|
|
|
|
|
2016-01-02 17:24:09 +01:00
|
|
|
# External services such as Gravatar
|
|
|
|
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
|
|
|
|
|
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
|
2016-03-05 10:47:24 +01:00
|
|
|
MAIL_ENCRYPTION=null
|