2016-06-02 10:05:57 +00:00
|
|
|
# Database connection name, which corresponds to the database driver.
|
2016-01-31 14:38:32 +00:00
|
|
|
# Possible values are:
|
|
|
|
# mysql (MySQL/MariaDB - default)
|
|
|
|
# pgsql (PostgreSQL)
|
|
|
|
# sqlsrv (Microsoft SQL Server)
|
2017-12-03 09:45:23 +00:00
|
|
|
DB_CONNECTION=mysql
|
|
|
|
DB_HOST=127.0.0.1
|
2017-12-03 10:40:35 +00:00
|
|
|
DB_PORT=3306
|
2017-12-03 09:45:23 +00:00
|
|
|
DB_DATABASE=koel
|
|
|
|
DB_USERNAME=koel
|
|
|
|
DB_PASSWORD=SoSecureMuchWow
|
2016-01-15 02:16:58 +00:00
|
|
|
|
2016-09-17 13:45:51 +00:00
|
|
|
# A random 32-char string. You can leave this empty if use php artisan koel:init.
|
|
|
|
APP_KEY=
|
|
|
|
|
|
|
|
# Another random 32-char string. You can leave this empty if use php artisan koel:init.
|
|
|
|
JWT_SECRET=
|
|
|
|
|
2016-09-17 16:00:43 +00:00
|
|
|
# By default, Koel ignores dot files and folders. This greatly improves performance if your media
|
2016-09-17 15:56:58 +00:00
|
|
|
# root have folders like .git or .cache. If by any chance your media files are under a dot folder,
|
|
|
|
# set the following setting to false.
|
|
|
|
IGNORE_DOT_FILES=true
|
2016-09-17 13:45:51 +00:00
|
|
|
|
|
|
|
APP_ENV=production
|
|
|
|
APP_DEBUG=true
|
|
|
|
APP_URL=http://localhost
|
|
|
|
|
2016-01-28 15:19:06 +00:00
|
|
|
|
2015-12-13 04:42:28 +00:00
|
|
|
# The maximum scan time, in seconds. Increase this if you have a huge library.
|
2016-01-31 14:38:32 +00:00
|
|
|
# Note: This setting doesn't have effect when scanning via koel:sync.
|
2015-12-13 04:42:28 +00:00
|
|
|
APP_MAX_SCAN_TIME=600
|
|
|
|
|
2016-01-28 15:19:06 +00:00
|
|
|
|
2017-08-21 20:45:01 +00:00
|
|
|
# The memory limit, in MB, used by the scanning process.
|
|
|
|
# For example, if you want to set a memory limit of 2048MB, enter "2048" (without
|
|
|
|
# quotes) here.
|
|
|
|
MEMORY_LIMIT=
|
|
|
|
|
|
|
|
|
2016-06-13 09:06:57 +00:00
|
|
|
# The streaming method.
|
2015-12-16 15:41:35 +00:00
|
|
|
# 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 15:19:06 +00:00
|
|
|
# Note: This setting doesn't have effect if the media needs transcoding (e.g. FLAC).
|
2015-12-16 15:41:35 +00:00
|
|
|
STREAMING_METHOD=php
|
|
|
|
|
2016-01-25 10:55:00 +00:00
|
|
|
|
2015-12-19 16:36:44 +00:00
|
|
|
# If you want Koel to integrate with Last.fm, set the API details here.
|
2017-08-19 15:27:38 +00:00
|
|
|
# See https://koel.phanan.net/docs/#/3rd-party?id=last-fm for more information.
|
2015-12-19 16:36:44 +00:00
|
|
|
LASTFM_API_KEY=
|
|
|
|
LASTFM_API_SECRET=
|
|
|
|
|
2016-01-28 15:19:06 +00:00
|
|
|
|
2016-09-17 13:45:51 +00:00
|
|
|
# If you want to use Amazon S3 with Koel, fill the info here and follow the
|
|
|
|
# installation guide at https://github.com/phanan/koel-aws.
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
|
|
AWS_SECRET_ACCESS_KEY=
|
|
|
|
AWS_REGION=
|
|
|
|
|
|
|
|
|
2016-07-14 08:47:50 +00:00
|
|
|
# If you want Koel to integrate with YouTube, set the API key here.
|
2017-08-19 15:27:38 +00:00
|
|
|
# See https://koel.phanan.net/docs/#/3rd-party?id=youtube for more information.
|
2016-07-14 08:47:50 +00:00
|
|
|
YOUTUBE_API_KEY=
|
|
|
|
|
|
|
|
|
2016-01-25 10:55:00 +00: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 15:19:06 +00:00
|
|
|
|
2016-06-02 10:05:57 +00:00
|
|
|
# If you want to transcode FLAC to MP3 and stream it on the fly, make sure the
|
2016-01-30 04:12:09 +00:00
|
|
|
# following settings are sane.
|
|
|
|
|
|
|
|
# The full path of ffmpeg binary.
|
2016-01-28 15:19:06 +00:00
|
|
|
FFMPEG_PATH=/usr/local/bin/ffmpeg
|
|
|
|
|
2016-06-02 10:05:57 +00:00
|
|
|
# The bit rate of the output mp3 stream. Higher value results in better quality,
|
2016-01-31 14:38:32 +00:00
|
|
|
# but slower streaming and more bandwidth.
|
2016-01-28 15:19:06 +00:00
|
|
|
OUTPUT_BIT_RATE=128
|
|
|
|
|
2016-06-02 17:53:26 +00:00
|
|
|
# Whether to allow song downloading.
|
|
|
|
# Note that if you're downloading more than one song, Koel will zip them up
|
|
|
|
# using PHP's ZipArchive. So if the module isn't available in the current
|
|
|
|
# environment, such a download will (silently) fail.
|
|
|
|
ALLOW_DOWNLOAD=true
|
|
|
|
|
2017-01-15 04:27:05 +00:00
|
|
|
# If this is set to true, the query to get artist, album, and song information will be cached.
|
|
|
|
# This can give a boost to Koel's boot time, especially if your library is huge.
|
|
|
|
# However, the cache deserialization process can be memory sensitive, so if you encounter
|
|
|
|
# errors, try setting this to false.
|
|
|
|
CACHE_MEDIA=true
|
2016-01-28 15:19:06 +00:00
|
|
|
|
2017-08-25 00:30:57 +00:00
|
|
|
|
|
|
|
# Pusher configuration, for interesting features such as remote controlling.
|
|
|
|
PUSHER_APP_ID=
|
|
|
|
PUSHER_APP_KEY=
|
|
|
|
PUSHER_APP_SECRET=
|
|
|
|
PUSHER_APP_CLUSTER=
|
|
|
|
|
|
|
|
|
2016-06-02 10:05:57 +00:00
|
|
|
# The variables below are Laravel-specific.
|
2016-01-25 10:55:00 +00:00
|
|
|
# You can change them if you know what you're doing. Otherwise, just leave them as-is.
|
2016-09-26 06:30:00 +00:00
|
|
|
APP_LOG_LEVEL=debug
|
|
|
|
BROADCAST_DRIVER=log
|
2015-12-13 04:42:28 +00: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
|
2016-09-26 06:30:00 +00:00
|
|
|
|