mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #1303] Web UI port via .env and MySQL UNIX socket #752
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#752
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MichaIng on GitHub (Apr 5, 2021).
Original GitHub issue: https://github.com/koel/koel/issues/1303
I have two questions and will create commits and a PR for the docs, once answered:
.envfile, but only via--portcommand option, right? Would be worth a request as well, so that e.g. service files do not need to be touched to change it. Otherwise it would be a good hint for the docs, where the default port 8000 is mentioned.@MichaIng commented on GitHub (Apr 8, 2021):
DB_HOST=localhostdoes the trick to connect via UNIX socket to MariaDB in my case, whileDB_PORTthen has no effect. I'm wondering how it knows the socket path, as I didn't provide it anywhere. Probably the PHP MySQL module has some default paths compiled in? Howeverss -tulpshows no MariaDB process but I can successfully update the library and change user details in Koel web UI and can see the changes reflected in the MariaDB console.@phanan commented on GitHub (Apr 11, 2021):
@MichaIng You can find the answers to your questions in Laravel's doc. I guess one thing can be put into Koel's doc is that one can refer to Laravel's doc for more configuration information, to which I can appreciate a PR.
@MichaIng commented on GitHub (Apr 11, 2021):
Generally good to know about the Laravel docs, but actually I couldn't find any hint about defining a listening port or connection to MySQL via UNIX socket via
.envfile in the Laravel docs, generally no list of available environment variables.While a general hint about this in the docs is a good idea, it wouldn't hurt to have the most important things directly available in the Koel docs. At least the listening port, I'd say, is essential. The CLI has help commands, but for
.envfile based configuration, finding further information (aside of what is present in the example.env) is not trivial.