[
https://issues.apache.org/jira/browse/FINERACT-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950306#comment-16950306
]
Michael Vorburger commented on FINERACT-773:
--------------------------------------------
I've started exploring this, see WIP on
[https://github.com/apache/fineract/compare/develop...vorburger:FINERACT-773_Dockerfile-JDBC-URL]
.. as is right it's still NOK, because:
1. FINERACT_TENANTS_URL still can't actually be set at run-time.. I need to
read up more re. {{ARG}} vs {{ENV}} in {{Dockerfile}} to figure this out.
2. there's still a {{mysqlserver}} used for
{{V1__mifos-platform-shared-tenants.sql}} - I'd ideally like to [replace that
with a runtime variable as
well|https://stackoverflow.com/questions/49161522/spring-boot-flyway-migration-placeholder].
FYI [~conradsp] & [~angeh]
> DB seeding scripts should not have a db hostname encoded at all and would
> pull that from an environment variable
> ----------------------------------------------------------------------------------------------------------------
>
> Key: FINERACT-773
> URL: https://issues.apache.org/jira/browse/FINERACT-773
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Michael Vorburger
> Assignee: Michael Vorburger
> Priority: Major
>
> Based on FINERACT-760 discussions in
> [https://github.com/apache/fineract/pull/593] and
> [https://github.com/apache/fineract/pull/595], quote:
> {quote}Will continue to think about a more robust solution. Ideally the db
> seeding scripts will not have a db hostname encoded at all and would pull
> that from an environment variable (defaulting to localhost or some sane
> default).
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)