koel/.env.example

71 lines
1.7 KiB
Text
Raw Normal View History

2016-01-12 16:40:53 +08:00
APP_ENV=production
2015-12-13 12:42:28 +08:00
APP_DEBUG=true
2016-01-15 10:16:58 +08:00
DB_CONNECTION=
DB_HOST=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
# A random 32-char string
APP_KEY=
# Another random 32-char string
JWT_SECRET=
2015-12-13 12:42:28 +08:00
2016-01-28 23:19:06 +08:00
2015-12-17 11:54:04 -08:00
# Username and password for the initial admin account
2015-12-13 12:42:28 +08:00
# This info will be populated into the database during `php artisan db:seed`
# After that, it can (and should) be removed from this .env file
ADMIN_EMAIL=
ADMIN_NAME=
ADMIN_PASSWORD=
2016-01-28 23:19:06 +08:00
2015-12-13 12:42:28 +08:00
# The maximum scan time, in seconds. Increase this if you have a huge library.
APP_MAX_SCAN_TIME=600
2016-01-28 23:19:06 +08:00
2015-12-16 23:41:35 +08:00
# The streaming method.
# Can be either 'php' (default), 'x-sendfile', or 'x-accel-redirect'
# See https://github.com/phanan/koel/wiki#streaming-music for more information.
2016-01-28 23:19:06 +08:00
# Note: This setting doesn't have effect if the media needs transcoding (e.g. FLAC).
2015-12-16 23:41:35 +08:00
STREAMING_METHOD=php
2016-01-25 18:55:00 +08:00
# If you want Koel to integrate with Last.fm, set the API details here.
LASTFM_API_KEY=
LASTFM_API_SECRET=
2016-01-28 23:19:06 +08:00
2016-01-25 18:55:00 +08:00
# You can also configure Koel to use a CDN to serve the media files.
# This url must be mapped to the home URL of your Koel's installation.
# No trailing slash, please.
CDN_URL=
2016-01-28 23:19:06 +08:00
# If you want to transcode FLAC to MP3 and stream it on the fly, make sure the
# following settings are sane.
# The full path of ffmpeg binary.
2016-01-28 23:19:06 +08:00
FFMPEG_PATH=/usr/local/bin/ffmpeg
# The bit rate of the out mp3 stream. Higher value results in better quality,
# but bigger file and more bandwidth.
OUTPUT_BIT_RATE=128
2016-01-25 18:55:00 +08:00
# The variables below are Laravel-specific.
# You can change them if you know what you're doing. Otherwise, just leave them as-is.
2015-12-13 12:42:28 +08:00
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null