All Projects → etopian → docker-koel

etopian / docker-koel

Licence: other
https://github.com/phanan/koel

Programming Languages

Nginx
273 projects
shell
77523 projects

docker-koel - Alpine Linux, PHP-FPM, Nginx, NodeJS

Issue: koel/koel#10

Documentation: https://qoba.lt/koel_with_docker.html

The .env file is dynamic using Docker variables.

You can expose /DATA/music and put all your music there. Make sure the permissions are fixed on the host:

chown 100:101 /DATA/music

docker run -e DB_HOST="172.17.0.1" -e DB_DATABASE="db_name" .. -v /my-mp3s:/DATA/music etopian/docker-koel 

All variables available, via -e switch of docker run as above. All these need to be set or it will not work properly.

    DB_HOST="172.17.0.1"
    DB_DATABASE=""
    DB_USERNAME=""
    DB_PASSWORD=""
    ADMIN_EMAIL=""
    ADMIN_NAME=""
    ADMIN_PASSWORD=""
    APP_DEBUG=false
    AP_ENV=production

After this init the site via exec

docker exec {container} su nginx -c "cd /DATA/htdocs && php artisan init"

If you want to link a database container you can do it with this image.. just specify the link as the DB_HOST, i.e. if the link is called mysql then say -e DB_HOST=mysql.

If you are trying to build the image, you need to provide a GitHub token in the Dockerfile. The given token is revoked.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].