]> BookStack Code Mirror - bookstack/blob - .env.example
Closes #69. Implemented and tested memcached.
[bookstack] / .env.example
1 # Environment
2 APP_ENV=production
3 APP_DEBUG=false
4 APP_KEY=SomeRandomString
5
6 # Database details
7 DB_HOST=localhost
8 DB_DATABASE=database_database
9 DB_USERNAME=database_username
10 DB_PASSWORD=database_user_password
11
12 # Cache and session
13 CACHE_DRIVER=file
14 SESSION_DRIVER=file
15 # If using Memcached, comment the above and uncomment these
16 #CACHE_DRIVER=memcached
17 #SESSION_DRIVER=memcached
18 QUEUE_DRIVER=sync
19
20 # Storage
21 STORAGE_TYPE=local
22 # Amazon S3 Config
23 STORAGE_S3_KEY=false
24 STORAGE_S3_SECRET=false
25 STORAGE_S3_REGION=false
26 STORAGE_S3_BUCKET=false
27 # Storage URL
28 # Used to prefix image urls for when using custom domains/cdns
29 STORAGE_URL=false
30
31 # General auth
32 AUTH_METHOD=standard
33
34 # Social Authentication information. Defaults as off.
35 GITHUB_APP_ID=false
36 GITHUB_APP_SECRET=false
37 GOOGLE_APP_ID=false
38 GOOGLE_APP_SECRET=false
39 # URL used for social login redirects, NO TRAILING SLASH
40 APP_URL=http://bookstack.dev
41
42 # External services such as Gravatar
43 DISABLE_EXTERNAL_SERVICES=false
44
45 # LDAP Settings
46 LDAP_SERVER=false
47 LDAP_BASE_DN=false
48 LDAP_DN=false
49 LDAP_PASS=false
50 LDAP_USER_FILTER=false
51 LDAP_VERSION=false
52
53 # Mail settings
54 MAIL_DRIVER=smtp
55 MAIL_HOST=localhost
56 MAIL_PORT=1025
57 MAIL_USERNAME=null
58 MAIL_PASSWORD=null
59 MAIL_ENCRYPTION=null
60
61 # Memcached settings
62 #MEMCACHED_HOST=127.0.0.1
63 # If using a UNIX socket path for the host, set the port to 0
64 #MEMCACHED_PORT=11211