mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-24 11:22:42 +01:00
d915c646bb
In lots environments having files with secrets is common (e.g. with NixOS where static secrets in config files are not secure). This new environment variable adds support for this. If a APP_KEY is defined it will take precedence ofer APP_KEY_FILE Tests have been added to show this beaviour.
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
####################################################################################################
|
|
## If you want to use web installer **DO NOT** create `.env` file manually.
|
|
## If `.env` file exists in the root of your app, web installer won't run.
|
|
##
|
|
## Every time you are making changes in .env file, in order changes to take an effect you need to run:
|
|
## php artisan freescout:clear-cache
|
|
#####################################################################################################
|
|
|
|
# Application URL
|
|
APP_URL=https://example.com
|
|
|
|
# Use HTTPS protocol and redirect to HTTPS
|
|
#APP_FORCE_HTTPS=true
|
|
|
|
# If you are using HTTPS, feel free to uncomment this line to improve security
|
|
#SESSION_SECURE_COOKIE=true
|
|
|
|
# Timezones: https://github.com/freescout-helpdesk/freescout/wiki/PHP-Timezones
|
|
# Comment it to use default timezone from php.ini
|
|
#APP_TIMEZONE=Europe/London
|
|
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_DATABASE=
|
|
DB_USERNAME=
|
|
# Maximum password length is 50 characters
|
|
DB_PASSWORD=
|
|
|
|
# Run the following console command to generate the key: php artisan key:generate
|
|
# Otherwise application will show the following error: "Whoops, looks like something went wrong"
|
|
APP_KEY=
|
|
|
|
# Uncomment to see errors in your browser, don't forget to comment it back when debugging finished
|
|
#APP_DEBUG=true
|