You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your DB driver of choice [MySQL/MariaDB]:
[mysql ] MySQL/MariaDB
[pgsql ] PostgreSQL
[sqlsrv ] SQL Server
[sqlite-e2e] SQLite
> pgsql
DB host:
> docker_database_1
DB port (leave empty for default):
> (tried 5432, 87:87 (what was in compose), and default)
DB name:
> koel
DB user:
> koel
DB password:
> password from compose
WARN Cannot connect to the database. Let's set it up.
docker compose:
services:
koel:
image: phanan/koel
depends_on:
- database
ports:
- 87:87
environment:
- DB_CONNECTION=pgsql
- DB_HOST=database
- DB_USERNAME=koel
- DB_PASSWORD=password
- DB_DATABASE=koel
volumes:
- music:/music
- covers:/var/www/html/public/img/covers
- search_index:/var/www/html/storage/search-indexes
database:
image: postgres:13
volumes:
- db:/var/lib/postgresql/data'
environment:
- POSTGRES_DB=koel
- POSTGRES_USER=koel
- POSTGRES_PASSWORD=password (same as before, not sure if this was supposed to be a different password?)
The text was updated successfully, but these errors were encountered:
I keep getting the error, "WARN Cannot connect to the database. Let's set it up."
relevant output from docker ps:
docker exec --user www-data -it docker_koel_1 bash
www-data@:~/html$ php artisan koel:init --no-assets:
docker compose:
The text was updated successfully, but these errors were encountered: