Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
See https://github.com/vorburger/www.fineract.dev/issues/8 for https://www.fineract.dev for more background:
There is a (new) https://github.com/apache/fineract/blob/develop/entrypoint.sh script. It was introduced by victorromero in apache/fineract#1930 for FINERACT-1416. That script, as-is currently, because the Dockerfile has an ENTRYPOINT /entrypoint.sh, makes a hard-coded assumption that anyone using the Fineract container anywhere uses fineractmysql 3306 as the hostname and port of the DB. That is not always the case; e.g. on https://www.fineract.dev, and I bet in some other deployments as well, the DB just so happens to not be reachable by fineractmysql hostname.
That (new) entrypoint.sh script really must respect those Fineract official DB configuration parameters, as seen e.g. in https://github.com/apache/fineract/blob/03a8a9858d1c3db703675ebaeb0828863d8b35de/docker-compose.yml and https://github.com/apache/fineract/blob/03a8a9858d1c3db703675ebaeb0828863d8b35de/kubernetes/fineract-server-deployment.yml.
I'll raise a PR with a proposed fix for this.
Attachments
Issue Links
- links to