Commit Graph
29 Commits
Author SHA1 Message Date
Arnold GalovicsandArnold Gálovics 4f832f9481 Correlation ID support implementation 2022-07-13 21:29:55 +02:00
Vic RomeroandArnold Gálovics 8a55d5807a FINERACT-1656 Correlation ID propagation and configuration 2022-07-13 21:29:55 +02:00
Dhaval Maniyar e3a256cb51 FINERACT:1644:Max Heap Space should be Configurable for Docker Image 2022-06-21 17:08:28 +05:30
Aleksandar VidakovicandAleksandar Vidakovic 99e8525729 FINERACT-1526: Upgrade dependencies 2022-03-11 16:55:30 +01:00
Renovate BotandAleksandar Vidakovic 4d3081951d chore(deps): update dependency mariadb to v10.8 2022-03-06 10:53:06 +01:00
Arnold GalovicsandAleksandar Vidakovic 8389106a58 FINERACT-984-6: PostgreSQL support 2022-02-22 18:03:09 +01:00
Aleksandar VidakovicandAleksandar Vidakovic c66415dbfd FINERACT-1492: Hikari configuration based on application properties 2022-02-07 16:38:39 +01:00
Aleksandar VidakovicandPetri Tuomola 6e052e536b Replace command line Docker image build with Gradle Jib plugin 2022-01-02 14:15:34 +08:00
Victor RomeroandPetri Tuomola 03a8a9858d FINERACT-982 - Completely ditch use of Drizzle JDBC Driver after all 2021-12-24 12:23:56 +08:00
Vic RomeroandPetri Tuomola b53fae870e Adding UI to K8s deployment (FINERACT-1419) 2021-12-23 22:25:22 +08:00
Benura AbeywardenaandGitHub e4b270c0f5 Feat: Node aware job scheduler (#1886) 2021-10-14 16:24:21 +05:30
e57b7daad1 Added a SQL schema connection parameter field (#1373)
Co-authored-by: Cedric Khin <c.khin@opensense.fr>
2020-10-13 21:14:22 +02:00
Michael Vorburger 504eeed431 Clean up whitespace issues, only (FINERACT-1188) 2020-10-10 11:33:09 +02:00
Petri TuomolaandYemdjih Kaze Nasser 4ba33daa74 FINERACT-1025: Upgrade Docker Compose and fix MySQL heartbeat 2020-06-08 19:30:20 +01:00
Michael Vorburger c579086af0 change community-app port in docker compose from 80 to 9090 (FINERACT-845)
This makes it much easier and more secure to use it "rootless",
e.g. with https://podman.io's podman-compose instead (Moby) Docker.

Also includes minor README improvements useful for beginners.
2020-05-02 14:17:58 +02:00
xurrorandMichael Vorburger ⛑️ 9184f5975f FINERACT-845
Integrate community-app in fineract docker build
2020-05-02 12:21:31 +02:00
Michael Vorburger ⛑️andGitHub 005cc2129a remove JAVA_OPTS from docker-compose.yml (FINERACT-900) (#773) 2020-04-18 06:26:45 +01:00
Michael Vorburger 1c74398d90 add MySQL JDBC Driver (LGPL) to Dockerfile + doc (fixes FINERACT-762)
Note that it is NOT enabled by default, which should be OK for the ASF.

The main point here is just to clearly document it for end-users.

I've obviously tried out what's documented, and can confirm it works.
2020-04-18 01:46:56 +02:00
Michael Vorburger f1c7a7b4bc add DRIVERCLASS_NAME, PROTOCOL, SUB_PROTOCOL to docker-compose.yml
These are the default values, from jdbc.properties, only added for
clarity and to make it obvious that they need to be changed e.g. for
FINERACT-762.

The different formats and naming conventions are a little bit of a mess,
but changing them now leads to backwards incompatibility, so for now
let's leave as is; possible clean up later in FINERACT-889.
2020-04-15 17:58:36 +02:00
Michael Vorburger 519dd204d8 set fineract_tenants_* more nicely in docker-compose.yml
We can use environment variables instead of system properties.

We originally had to use system properties and could not use environment
variables, because these used to read by Tomcat, but since the switch
to Hikari in FINERACT-796 these are read by Spring Boot instead of
Tomcat, so we can now use system properties.

This both "looks nicer" and is useful e.g. for FINERACT-881.
2020-04-15 17:58:36 +02:00
xurrorandMichael Vorburger ⛑️ a7ebef4781 FINERACT-807
change mifosplatform-tenants and mifostenant-default to fineract_tenants
 and fineract_default respectively

closes https://issues.apache.org/jira/projects/FINERACT/issues/FINERACT-807?filter=allopenissues
2020-03-08 14:16:05 +01:00
228ec22a60 Allow customizing Tenants DB JDBC uid/pwd/driver (FINERACT-806) (#713)
* Allow customizing Tenants DB JDBC uid/pwd/driver (FINERACT-806)

Added Java system properties for username and password to docker-compose

Modified sever.xml to get username and password

* Fixes for customizing Tenants DB JDBC uid/pwd/driver (FINERACT-806)

* Use random MYSQL_ROOT_PASSWORD in docker-compose.yml (FINERACT-806)

This provides future non-regression testing that the the customized
MySQL password is actually really used, and it doesn't just work because
"mysql" is still hard-coded anywhere.

Co-authored-by: Yemdjih Kaze Nasser <kaze.nasser@outlook.com>
2020-02-09 19:36:58 +01:00
Michael Vorburger edc9e030e1 Allow customizing JDBC URLs at run-time instead of during container build (FINERACT-773)
In Docker, set JAVA_OPTS instead of FINERACT_TENANTS_URL.

Because ARG/ENV in the Dockerfile can't (easily) be changed at run-time.

At first I tried to override the ENTRYPOINT with a script which sets
JAVA_OPTS based on FINERACT_TENANTS_URL and then delegates to the original
/app-entrypoint.sh; that didn't immediately work, so this seems simpler.

Including make default tenant JDBC hostname & port configurable at Docker container run instead of build time.
2019-11-26 06:06:59 +01:00
Michael Vorburger 479d6e0e81 docker-compose.yml version 3.3 instead of 3.7 2019-10-21 09:45:23 +02:00
Steve ConradandMichael Vorburger ⛑️ f9ab8143e4 Add healthcheck so DB is up before Fineract starts 2019-10-14 15:10:13 +02:00
Michael Vorburger 70ac0819b5 Add Z,ro flags to Docker Compose Volume
This is required on secure Linux distributions such as
Fedora/CentOS/RHEL where SELinux is enabled, where without this
the mysql container fails to start due to:

  ls: cannot open directory '/docker-entrypoint-initdb.d/': Permission denied

These Z,ro volume mount flags are (should be..) harmless and ignored
by Docker on other platforms, such as insecure ;) Linux distributions
without SELinux, or Windows and Mac.

PS: I personally don't actually use real Docker, but instead I use Podman
(see https://github.com/containers/libpod; install via `dnf install podman-docker`)
and https://github.com/containers/podman-compose/) via `pip3 install podman-compose`;
it's more secure (because it doesn't need a daemon and root to run containers).
2019-10-12 00:40:04 +02:00
conradspandMichael Vorburger ⛑️ b8dadd0419 Added license, moved db init file 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ 7574daf79e Change port from 443 to 8443 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ 21cc14c9f2 Simplify docker process - run from root directory 2019-06-29 15:38:33 +02:00