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