]> BookStack Code Mirror - bookstack/blob - .env.example
86f99f30f8e77feed93aba6f5d1de65ddb750f12
[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 TWITCH_APP_ID=false
53 TWITCH_APP_SECRET=false
54 GITLAB_APP_ID=false
55 GITLAB_APP_SECRET=false
56 GITLAB_BASE_URI=false
57
58 # External services such as Gravatar
59 DISABLE_EXTERNAL_SERVICES=false
60
61 # LDAP Settings
62 LDAP_SERVER=false
63 LDAP_BASE_DN=false
64 LDAP_DN=false
65 LDAP_PASS=false
66 LDAP_USER_FILTER=false
67 LDAP_VERSION=false
68
69 # Mail settings
70 MAIL_DRIVER=smtp
71 MAIL_HOST=localhost
72 MAIL_PORT=1025
73 MAIL_USERNAME=null
74 MAIL_PASSWORD=null
75 MAIL_ENCRYPTION=null