2021-03-05 06:08:51 +08:00
|
|
|
# THIS FILE MUST BE KEPT SECRET! IT IS BLOCKED IN THE HTACCESS FILE
|
|
|
|
# HOWEVER, THIS DIRECTORY SHOULDN'T BE EXPOSED TO THE PUBLIC AT ALL
|
|
|
|
# SEE THE DOCS FOR PROPER (SECURE) INSTALLATION:
|
|
|
|
# https://docs.phpvms.net/installation/uploading
|
|
|
|
#
|
2021-04-11 05:19:45 +08:00
|
|
|
# This is the place to edit your configuration. To change a config that's
|
|
|
|
# not present here, you need to either edit the file/config in the config
|
|
|
|
# folder, or change it to read the value from the environment. Something like:
|
|
|
|
#
|
|
|
|
# 'some_key' = env('ENVIRONMENT_VARIABLE_KEY_ADDED_BELOW', 'default value')
|
|
|
|
#
|
|
|
|
# Various other settings in the configs also read from some environment variables
|
|
|
|
# by default. You can override those here
|
|
|
|
|
|
|
|
APP_KEY='$APP_KEY$'
|
2021-04-12 01:46:52 +08:00
|
|
|
APP_NAME='$SITE_NAME$'
|
2021-04-11 05:19:45 +08:00
|
|
|
SITE_NAME='$SITE_NAME$'
|
2021-04-21 11:28:57 +08:00
|
|
|
APP_URL='$APP_URL$'
|
2021-04-11 05:19:45 +08:00
|
|
|
APP_ENV=$APP_ENV$
|
|
|
|
APP_LOCALE=$APP_LOCALE$
|
|
|
|
LOG_LEVEL=debug
|
|
|
|
APP_DEBUG=$APP_DEBUG$
|
|
|
|
DEBUG_TOOLBAR=$DEBUG_TOOLBAR$
|
|
|
|
|
2021-05-22 00:31:32 +08:00
|
|
|
## DATABASE SETTINGS
|
|
|
|
|
2021-04-11 05:19:45 +08:00
|
|
|
DB_CONNECTION=$DB_CONNECTION$
|
|
|
|
DB_HOST='$DB_HOST$'
|
|
|
|
DB_PORT=$DB_PORT$
|
|
|
|
DB_DATABASE='$DB_DATABASE$'
|
|
|
|
DB_USERNAME='$DB_USERNAME$'
|
|
|
|
DB_PASSWORD='$DB_PASSWORD$'
|
|
|
|
DB_PREFIX='$DB_PREFIX$'
|
|
|
|
DB_EMULATE_PREPARES=$DB_EMULATE_PREPARES$
|
|
|
|
DB_SOCKET=
|
|
|
|
|
2021-05-22 00:31:32 +08:00
|
|
|
## CACHE SETTINGS
|
|
|
|
# https://docs.phpvms.net/config/optimizing#caching
|
|
|
|
|
2021-04-11 05:19:45 +08:00
|
|
|
CACHE_DRIVER=$CACHE_DRIVER$
|
2021-04-11 09:13:34 +08:00
|
|
|
CACHE_PREFIX='$CACHE_PREFIX$'
|
2018-01-30 03:16:39 +08:00
|
|
|
|
2021-05-22 00:31:32 +08:00
|
|
|
## EMAIL SETTINGS
|
2021-05-20 23:54:07 +08:00
|
|
|
|
2021-04-11 05:19:45 +08:00
|
|
|
# Look at the available mail configs in config/mail.php
|
|
|
|
# Also refer to the Laravel docs here: https://laravel.com/docs/8.x/mail
|
2021-05-22 00:31:32 +08:00
|
|
|
# If you're using SMTP, I recommend setting the QUEUE_DRIVER to 'database'
|
|
|
|
# https://docs.phpvms.net/config/optimizing#queue-driver
|
|
|
|
|
2021-04-11 05:19:45 +08:00
|
|
|
MAIL_DRIVER=$MAIL_DRIVER$
|
|
|
|
MAIL_FROM_NAME='$MAIL_FROM_NAME$'
|
|
|
|
MAIL_FROM_ADDRESS='$MAIL_FROM_ADDRESS$'
|
|
|
|
MAIL_HOST=$MAIL_HOST$
|
|
|
|
MAIL_PORT=$MAIL_PORT$
|
|
|
|
MAIL_ENCRYPTION=$MAIL_ENCRYPTION$
|
|
|
|
MAIL_USERNAME=$MAIL_USERNAME$
|
|
|
|
MAIL_PASSWORD=$MAIL_PASSWORD$
|
2021-05-22 00:31:32 +08:00
|
|
|
|
|
|
|
## QUEUE SETTINGS
|
|
|
|
|
|
|
|
# Set this to "database" if you have slow pages due to notifications/emails
|
|
|
|
# They will then be sent out via cron
|
|
|
|
QUEUE_DRIVER=sync
|
|
|
|
|
|
|
|
# If you're using the Laravel Queue Worker, set this to true. This will stop the queue tasks
|
|
|
|
# from being run during the cron job
|
|
|
|
# https://laravel.com/docs/8.x/queues#running-the-queue-worker
|
|
|
|
QUEUE_WORKER=false
|