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.
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")
10 # Used for encryption where needed.
11 # Run `php artisan key:generate` to generate a valid key.
12 APP_KEY=SomeRandomString
15 # This must be the root URL that you want to host BookStack on.
16 # All URLs in BookStack will be generated using this value
17 # to ensure URLs generated are consistent and secure.
18 # If you change this in the future you may need to run a command
19 # to update stored URLs in the database. Command example:
20 # php artisan bookstack:update-url https://old.example.com https://new.example.com
21 APP_URL=https://example.com
25 DB_DATABASE=database_database
26 DB_USERNAME=database_username
27 DB_PASSWORD=database_user_password
30 # Can be 'smtp' or 'sendmail'
34 MAIL_FROM_NAME="BookStack"
35 MAIL_FROM=bookstack@example.com
38 # These settings can be checked using the "Send a Test Email"
39 # feature found in the "Settings > Maintenance" area of the system.
40 # For more detailed documentation on mail options, refer to:
41 # https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration