Wouldn't it be good to externalize (the database password particularly for
fineract_tenants) to some property file or command line arguments so as to
avoid the password mysql?
when you run the artifact java -jar fineract-provider.jar
--db.password=your_finearact_tenants_password and some where within the
code to use
@value("${db.password}")String tenantsDbPassword;

thanks

On Mon, Sep 28, 2020 at 8:59 PM Michael Vorburger <[email protected]> wrote:

> On Mon, Sep 28, 2020 at 7:42 PM Airsay Longcon <[email protected]>
> wrote:
>
>> Hi Michael,
>> Thank you for the response. I understand that a straightforward java -jar
>> would run the jar build. I guess my question was more about how to
>> configure the other software like the Web-app and MySQL as I would like to
>> change the defaults such as the MySQL root password and port, the port
>> which the community/web apps will run on and some other basic changes so
>> that I don't have an environment that is a sitting duck for attacks
>>
>
> That seems very wise! :) Of course, your database shouldn't even be
> internet exposed at all in the first place, and only on a local IP... ;-)
>
> Jokes aside, thank you for clarifying what doc you were missing. Does
> https://github.com/apache/fineract/pull/1357/files help to clarify re. DB?
>
> Re. the port which the community/web apps, that may be a bigger
> misunderstanding - Apache Fineract does not actually include the
> community/web app UI at all! So java -jar fineract-provider.jar only runs
> the backend. If anything made you think that it does, please point us to
> where we say so, so that doc can be clarified. (
> https://github.com/apache/fineract/#instructions-to-run-using-docker-and-docker-compose
> however does include the community-app, but that's just for
> convenience/demo. That has nothing to do with the Fineract JAR/WAR itself,
> it's just via
> https://github.com/apache/fineract/blob/develop/docker-compose.yml#L59.)
>
>
>
>> On 27 Sep 2020, at 20:22, Michael Vorburger <[email protected]> wrote:
>>
>> 
>> Ese,
>>
>> On Sun, 27 Sep 2020, 20:38 Airsay Longcon, <[email protected]>
>> wrote:
>>
>>> Hi Michael,
>>> For a production server, how would one deploy using the jar?
>>>
>>
>> Simply java -jar, as per
>> https://github.com/apache/fineract/#instructions-to-build-the-jar-file
>>
>> Please do let us know what information you are missing re. that, so that
>> we may improve the README.
>>
>>
>> On 27 Sep 2020, at 18:48, Michael Vorburger <[email protected]> wrote:
>>>
>>> 
>>> Tube,
>>>
>>> Have you seen/are you perhaps simply looking for
>>> https://github.com/apache/fineract/#instructions-how-to-run-for-local-development
>>> ?
>>>
>>> With "./gradlew bootRun", you don't need Tomcat anymore to develop on
>>> Fineract!
>>>
>>> Hope this helps?
>>> M.
>>>
>>>
>>> On Sun, 27 Sep 2020, 17:55 Kelvin Ikome, <[email protected]> wrote:
>>>
>>>> Hi there,
>>>>
>>>> Please provide more information on what changes you are trying to make
>>>> which isn't working
>>>>
>>>> On Sun, Sep 27, 2020 at 4:10 PM ጓይላና Tube <[email protected]>
>>>> wrote:
>>>>
>>>>> 𝒉𝒆𝒍𝒍𝒐 .
>>>>> 𝑰 𝒘𝒂𝒏𝒕 𝒕𝒐 𝒄𝒖𝒔𝒕𝒐𝒎𝒊𝒛𝒆 𝒕𝒉𝒆 𝒃𝒂𝒄𝒌𝒆𝒏𝒅
>>>>> 𝒄𝒐𝒅𝒆(𝒋𝒂𝒗𝒂). 𝒃𝒖𝒕 𝒘𝒉𝒆𝒏 𝒊 𝒓𝒖𝒏 𝒕𝒉𝒆
>>>>> 𝒇𝒊𝒏𝒆𝒓𝒂𝒄𝒕-𝒑𝒓𝒐𝒗𝒊𝒅𝒆𝒓 𝒇𝒊𝒍𝒆. 𝒏𝒐𝒕𝒉𝒊𝒏𝒈 𝒊𝒔
>>>>> 𝒄𝒉𝒂𝒏𝒈𝒆𝒅. 𝒄𝒂𝒏 𝒚𝒐𝒖 𝒈𝒖𝒊𝒅𝒆 𝒎𝒆 𝒉𝒐𝒘 𝒕𝒐
>>>>>  𝒆𝒅𝒊𝒕/𝒄𝒉𝒂𝒏𝒈𝒆 𝒕𝒉𝒆 𝒃𝒂𝒄𝒌𝒆𝒏𝒅 𝒄𝒐𝒅𝒆 𝒂𝒏𝒅 𝒅𝒆𝒑𝒍𝒐𝒚
>>>>> 𝒊𝒏𝒕𝒐 𝒕𝒐𝒎𝒄𝒂𝒕.
>>>>> 𝑹𝒆𝒈𝒂𝒓𝒅𝒔
>>>>>
>>>>

Reply via email to