]> BookStack Code Mirror - bookstack/blob - .env.example
Updated example env with helpful info
[bookstack] / .env.example
1 # This file, when named as ".env" in the root of your BookStack install
2 # folder, is used for the core configuration of the application.
3 # By default this file contains the most common required options but
4 # a full list of options can be found in the '.env.example.complete' file.
5
6 # NOTE: If any of your values contain a space or a hash you will need to
7 # wrap the entire value in quotes. (eg. MAIL_FROM_NAME="BookStack Mailer")
8
9 # Application key
10 # Used for encryption where needed.
11 # Run `php artisan key:generate` to generate a valid key.
12 APP_KEY=SomeRandomString
13
14 # Application URL
15 # Remove the hash below and set a URL if using BookStack behind
16 # a proxy or if using a third-party authentication option.
17 # This must be the root URL that you want to host BookStack on.
18 # All URL's in BookStack will be generated using this value.
19 #APP_URL=https://example.com
20
21 # Database details
22 DB_HOST=localhost
23 DB_DATABASE=database_database
24 DB_USERNAME=database_username
25 DB_PASSWORD=database_user_password
26
27 # Mail system to use
28 # Can be 'smtp' or 'sendmail'
29 MAIL_DRIVER=smtp
30
31 # Mail sender options
32 MAIL_FROM_NAME=BookStack
33 [email protected]
34
35 # SMTP mail options
36 # These settings can be checked using the "Send a Test Email"
37 # feature found in the "Settings > Maintenance" area of the system.
38 MAIL_HOST=localhost
39 MAIL_PORT=1025
40 MAIL_USERNAME=null
41 MAIL_PASSWORD=null
42 MAIL_ENCRYPTION=null