Chairul, you're ALMOST ;) there - note how in https://github.com/apache/fineract/blob/develop/docker-compose.yml#L45 there is BOTH the fineract_tenants_* but ALSO the FINERACT_DEFAULT_TENANTDB_* env vars? The latter is what you are looking for!
HTH & makes sense? M. PS: Would someone be willing to contribute better documentation about this? Ideally via a PR to https://github.com/apache/fineract/blob/develop/README.md, or https://github.com/apache/fineract/tree/develop/fineract-doc/src/docs/en. _______________________ Michael Vorburger http://www.vorburger.ch On Mon, Jan 4, 2021 at 5:42 PM Chairul Akmal <[email protected]> wrote: > Hi folks, > > I am a new fineract user and have been recently trying to deploy fineract > 1.4.0 on Digital Ocean. The plan that I currently have is to deploy > apache/fineract docker image and connect to managed MySQL database from > Digital Ocean. However, I have been struggling with connecting fineract > with the non-local database. > > I understand that there are ways to modify the `fineract_tenants` database > from environmental variables (e.g. in docker-compose.yml), however can I do > the same with `fineract_default`? The way I see it, `fineract_default` is > hard-coded a lot in source code and I wanted to modify it, unfortunately I > can't find any documentations on fineract database setup/schema. I tried > googling around for old mifos documentations but most of them are > deprecated or inaccessible anymore. > > Cheers, > Chairul >
