FUNKWHALE_API_HOST hard-coded in the front dockerfile
Steps to reproduce
- get the docker-compose.yml from https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/stable/deploy/docker-compose.yml and configure the .env according to the documentation
- change the name of the "api" container (to "funkwhale-api", for example)
- launch the docker compose
What happens?
The "front" container does not start, because the "api" container does not exists since its name was changed.
Even if I configure the env variable FUNKWHALE_API_IP
to the new name (eg. funkwhale-api
), it does not work.
Even if I add "FUNKWHALE_API_IP=funkwhale-api" to the environment
section of the docker-compose.yml, it does not work.
What is expected?
I want to be able to change the name of each container.
It works for every container, except for the api
one.
Context
I may be wrong, but hard-coding these two environment variables (FUNKWHALE_API_HOST
and FUNKWHALE_API_PORT
) in the front dockerfile may be the culprit.
Funkwhale version(s) affected: 1.3.0 and newer.