Skip to content

0xcaff/docker-koel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-koel

automated-build-badge

A docker image with only the bare essentials needed to run koel. It includes apache and a php runtime with required extensions.

Usage

First start the koel server with a mysql database and music storage volume.

docker run --name koel -p 80:80 -it 0xcaff/koel

On the first run, if the .env file isn't created, it will be created and the APP_KEY variable will be populated.

Compose

docker-compose can be used to start koel along with its depdencies. Just run.

docker-compose up

On the first start (after an upgrade or initial installation), the database needs to be migrated. Run koel init with docker exec in the koel runtime container:

docker-compose exec koel php artisan koel:init

Check out the ./docker-compose.yml file for more information.