koel/docker

php artisan koel:init --no-assets fails

Phat-Loc opened this issue ยท 1 comments

Where can I find more information on this error?

www-data@b63d9da11127:~/html$ php artisan koel:init --no-assets
Attempting to install or upgrade Koel.
Remember, you can always install/upgrade manually following the guide here:
๐Ÿ“™ https://docs.koel.dev
App key exists -- skipping
Migrating database
Oops! Koel installation or upgrade didn't finish successfully.
Please try again, or visit https://docs.koel.dev for manual installation.
๐Ÿ˜ฅ Sorry for this. You deserve better.

The following is my docker-compose file.

`version: '3'

services:
koel:
container_name: koel_server
image: hyzual/koel
depends_on:
- database
ports:
- 8080:80
environment:
- DB_CONNECTION=pgsql
- DB_HOST=database
- DB_USERNAME=koel
- DB_PASSWORD=koel
- DB_DATABASE=koel
volumes:
- music:/music
- covers:/var/www/html/public/img/covers
- search_index:/var/www/html/storage/search-indexes

database:
container_name: koel_db
image: postgres:13
volumes:
- db:/var/lib/postgresql/data'
environment:
- POSTGRES_DB=koel
- POSTGRES_USER=koel
- POSTGRES_PASSWORD=koel
ports:
- 5432:5432

volumes:
db:
driver: local
music:
driver: local
covers:
driver: local
search_index:
driver: local
`

Duplicate