]> BookStack Code Mirror - bookstack/blob - .env.example
Merge pull request #695 from Yoginth/patch-2
[bookstack] / .env.example
1 # Environment
2 APP_ENV=production
3 APP_DEBUG=false
4 APP_KEY=SomeRandomString
5
6 # The below url has to be set if using social auth options
7 # or if you are not using BookStack at the root path of your domain.
8 # APP_URL=http://bookstack.dev
9
10 # Database details
11 DB_HOST=localhost
12 DB_DATABASE=database_database
13 DB_USERNAME=database_username
14 DB_PASSWORD=database_user_password
15
16 # Cache and session
17 CACHE_DRIVER=file
18 SESSION_DRIVER=file
19 # If using Memcached, comment the above and uncomment these
20 #CACHE_DRIVER=memcached
21 #SESSION_DRIVER=memcached
22 QUEUE_DRIVER=sync
23
24 # Memcached settings
25 # If using a UNIX socket path for the host, set the port to 0
26 # This follows the following format: HOST:PORT:WEIGHT
27 # For multiple servers separate with a comma
28 MEMCACHED_SERVERS=127.0.0.1:11211:100
29
30 # Storage
31 STORAGE_TYPE=local
32 # Amazon S3 Config
33 STORAGE_S3_KEY=false
34 STORAGE_S3_SECRET=false
35 STORAGE_S3_REGION=false
36 STORAGE_S3_BUCKET=false
37 # Storage URL
38 # Used to prefix image urls for when using custom domains/cdns
39 STORAGE_URL=false
40
41 # General auth
42 AUTH_METHOD=standard
43
44 # Social Authentication information. Defaults as off.
45 GITHUB_APP_ID=false
46 GITHUB_APP_SECRET=false
47 GOOGLE_APP_ID=false
48 GOOGLE_APP_SECRET=false
49 OKTA_BASE_URL=false
50 OKTA_APP_ID=false
51 OKTA_APP_SECRET=false
52
53 # External services such as Gravatar
54 DISABLE_EXTERNAL_SERVICES=false
55
56 # LDAP Settings
57 LDAP_SERVER=false
58 LDAP_BASE_DN=false
59 LDAP_DN=false
60 LDAP_PASS=false
61 LDAP_USER_FILTER=false
62 LDAP_VERSION=false
63
64 # Mail settings
65 MAIL_DRIVER=smtp
66 MAIL_HOST=localhost
67 MAIL_PORT=1025
68 MAIL_USERNAME=null
69 MAIL_PASSWORD=null
70 MAIL_ENCRYPTION=null