Koel (also styled as koel, with a lowercase k) is a web-based personal audio streaming service written in Vue at the client side and Laravel on the server side. Targeting web developers, Koel embraces some of the more modern web technologies – flexbox, audio and drag-and-drop API to name a few – to do its job. 科尔(也为koel,小写k)是一个基于网络的个人音频流服务。 Koel 官网
https://koel.dev/
腾讯轻量部署Koel - Koel官网 界面演示
Koel 注意
本文软件基于腾讯云轻量应用服务器安装,使用,教程使用的腾讯云轻量应用服务器系统为 Docker CE 19.03.9 !理论上腾讯云轻量应用服务器为 Docker CE 19.03.9 的服务器操作应与本文基本一致(包括过程与报错,其他服务器应与本文大同小异! 安装 Koel
输入以下命令,初始化 Koel
docker-compose exec koel php artisan koel:init
出现以下返回
Attempting to install or upgrade Koel. Remember, you can always install/upgrade manually following the guide here: [Emoji] https://docs.koel.dev App key exists -- skipping Migrating database Creating default admin account Seeding initial data The absolute path to your media directory. If this is skipped (left blank) now, you can set it later via the web interface. Media path [/music]: > 直接回车
直接回车
这步执行完会出现如下报错
Oops! Koel installation or upgrade didn't finish successfully. Please try again, or visit https://docs.koel.dev for manual installation. [Emoji] Sorry for this. You deserve better.
原因是前端资源已经在容器内构建好了,这里就不用再构建了,所以会报错。错误可以直接忽略。