Support serving Funkwhale on a port other than 80/443
What is the problem you are facing?
Funkwhale's API currently cannot properly be served on a port different than 80 or 443. Attempting to do so will cause album covers to fail to load in the UI, since the port is not included when linking them (e.g. when serving on http://localhost:5000/media, all cover art links refer to http://localhost/media instead).
Notably, this affects the recommended setup for the all-in-one Docker images (FUNKWHALE_API_PORT=5000
).
Context
This issue was brought up and diagnosed on matrix: https://riot.im/app/#/room/#funkwhale-troubleshooting:matrix.org/$1582382541190699TSKJT:matrix.org