2019-01-01 11:53:20 +00:00
|
|
|
APP_NAME=Koel
|
2022-11-30 09:22:52 +00:00
|
|
|
APP_ENV=production
|
|
|
|
APP_DEBUG=true
|
|
|
|
APP_URL=http://localhost:8000
|
|
|
|
|
|
|
|
# A random 32-char string. You can leave this empty if use php artisan koel:init.
|
|
|
|
APP_KEY=
|
2019-01-01 11:53:20 +00:00
|
|
|
|
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)
|
2019-04-22 14:26:28 +00:00
|
|
|
# sqlite-persistent (Local sqlite file)
|
2022-07-18 11:00:37 +00:00
|
|
|
# IMPORTANT: This value must present for `artisan koel:init` command to work.
|
2017-12-03 09:45:23 +00:00
|
|
|
DB_CONNECTION=mysql
|
2022-11-30 09:22:52 +00:00
|
|
|
|
2017-12-03 09:45:23 +00:00
|
|
|
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
|
2022-08-03 10:01:57 +00:00
|
|
|
DB_PASSWORD=
|
2016-01-15 02:16:58 +00:00
|
|
|
|
2022-11-30 09:22:52 +00:00
|
|
|
|
|
|
|
# Some providers (e.g. Heroku) provide a "database URL" instead separated config values, which
|
|
|
|
# you can use here instead.
|
|
|
|
DATABASE_URL=
|
|
|
|
|
|
|
|
|
|
|
|
# The absolute path to the root CA bundle if you're connecting to the MySQL database via SSL.
|
|
|
|
MYSQL_ATTR_SSL_CA=
|
|
|
|
|
2016-09-17 13:45:51 +00:00
|
|
|
|
2019-01-01 11:53:20 +00:00
|
|
|
# The ABSOLUTE path to your media. This value can always be changed later via the web interface.
|
|
|
|
MEDIA_PATH=
|
|
|
|
|
|
|
|
|
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
|
|
|
|
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'
|
2020-04-22 21:46:07 +00:00
|
|
|
# See https://docs.koel.dev/#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).
|
2022-07-28 10:55:19 +00:00
|
|
|
# ##################################################
|
|
|
|
# IMPORTANT: It's HIGHLY recommended to use 'x-sendfile' or 'x-accel-redirect' if
|
|
|
|
# you plan to use the Koel mobile apps.
|
|
|
|
# ##################################################
|
2015-12-16 15:41:35 +00:00
|
|
|
STREAMING_METHOD=php
|
|
|
|
|
2016-01-25 10:55:00 +00:00
|
|
|
|
2022-07-29 08:04:23 +00:00
|
|
|
# Full text search driver.
|
|
|
|
# Koel supports all drivers supported by Laravel (see https://laravel.com/docs/9.x/scout).
|
|
|
|
# Available drivers: 'tntsearch' (default), 'database', 'algolia' or 'meilisearch'.
|
|
|
|
# For Algolia or MeiliSearch, you need to provide the corresponding credentials.
|
2022-08-02 06:22:08 +00:00
|
|
|
SCOUT_DRIVER=tntsearch
|
2022-07-27 19:58:20 +00:00
|
|
|
ALGOLIA_APP_ID=
|
|
|
|
ALGOLIA_SECRET=
|
2022-07-29 08:04:23 +00:00
|
|
|
MEILISEARCH_HOST=
|
|
|
|
MEILISEARCH_KEY=
|
2022-07-27 19:58:20 +00:00
|
|
|
|
|
|
|
|
2022-07-18 11:00:37 +00:00
|
|
|
# Last.fm API can be used to fetch artist and album information, as well as to
|
|
|
|
# allow users to connect to their Last.fm account and scrobble.
|
|
|
|
# To integrate Koel with Last.fm, create an API account at
|
|
|
|
# https://www.last.fm/api/account/create and set the credentials here.
|
|
|
|
# Consult Koel's doc 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
|
|
|
|
2022-07-18 11:00:37 +00:00
|
|
|
# Spotify API can be used to fetch artist and album images.
|
|
|
|
# To integrate Koel with Spotify, create a Spotify application at
|
|
|
|
# https://developer.spotify.com/dashboard/applications and set the credentials here.
|
|
|
|
# Consult Koel's doc for more information.
|
|
|
|
SPOTIFY_CLIENT_ID=
|
|
|
|
SPOTIFY_CLIENT_SECRET=
|
|
|
|
|
|
|
|
|
|
|
|
# To use Amazon S3 with Koel, fill the info here and follow the
|
2020-04-22 21:46:07 +00:00
|
|
|
# installation guide at https://docs.koel.dev/aws-s3.html
|
2016-09-17 13:45:51 +00:00
|
|
|
AWS_ACCESS_KEY_ID=
|
|
|
|
AWS_SECRET_ACCESS_KEY=
|
|
|
|
AWS_REGION=
|
2021-12-22 10:17:54 +00:00
|
|
|
AWS_ENDPOINT=
|
2016-09-17 13:45:51 +00:00
|
|
|
|
|
|
|
|
2022-07-18 11:00:37 +00:00
|
|
|
# To integrate Koel with YouTube, set the API key here.
|
2020-04-22 21:46:07 +00:00
|
|
|
# See https://docs.koel.dev/3rd-party.html#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.
|
2022-11-30 09:22:52 +00:00
|
|
|
# No trailing slash.
|
2016-01-25 10:55:00 +00:00
|
|
|
CDN_URL=
|
|
|
|
|
2016-01-28 15:19:06 +00:00
|
|
|
|
2022-07-18 11:00:37 +00:00
|
|
|
# To transcode FLAC to MP3 and stream it on the fly, make sure the following settings are sane.
|
2016-01-30 04:12:09 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2022-09-15 09:07:25 +00:00
|
|
|
# Whether to create a backup of a song instead of deleting it from the filesystem.
|
|
|
|
# If true, the song will simply be renamed into a .bak file.
|
|
|
|
BACKUP_ON_DELETE=true
|
2017-08-25 00:30:57 +00:00
|
|
|
|
2019-05-18 20:43:30 +00:00
|
|
|
# Koel attempts to detect if your website use HTTPS and generates secure URLs accordingly.
|
2023-05-17 11:19:14 +00:00
|
|
|
# If this attempt fails for any reason, you can force it by setting this value to true.
|
2019-05-18 20:43:30 +00:00
|
|
|
FORCE_HTTPS=
|
|
|
|
|
|
|
|
|
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=
|
|
|
|
|
2022-11-30 09:22:52 +00:00
|
|
|
MAIL_MAILER=smtp
|
|
|
|
MAIL_HOST=mailhog
|
|
|
|
MAIL_PORT=1025
|
|
|
|
MAIL_USERNAME=null
|
|
|
|
MAIL_PASSWORD=null
|
|
|
|
MAIL_ENCRYPTION=null
|
|
|
|
MAIL_FROM_ADDRESS="hello@example.com"
|
|
|
|
MAIL_FROM_NAME="${APP_NAME}"
|
|
|
|
|
2020-04-27 18:55:12 +00:00
|
|
|
SQS_PUBLIC_KEY=
|
|
|
|
SQS_SECRET_KEY=
|
|
|
|
SQS_QUEUE_PREFIX=
|
|
|
|
SQS_QUEUE_NAME=
|
|
|
|
SQS_QUEUE_REGION=
|
2017-08-25 00:30:57 +00:00
|
|
|
|
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
|
|
|
BROADCAST_DRIVER=log
|
2015-12-13 04:42:28 +00:00
|
|
|
CACHE_DRIVER=file
|
2022-11-30 09:22:52 +00:00
|
|
|
FILESYSTEM_DISK=local
|
|
|
|
QUEUE_CONNECTION=sync
|
2015-12-13 04:42:28 +00:00
|
|
|
SESSION_DRIVER=file
|
2022-11-30 09:22:52 +00:00
|
|
|
SESSION_LIFETIME=120
|