Commit Graph
11 Commits
Author SHA1 Message Date
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 1b6c202ddc Add docker-compose non-regression test to Travis CI 2019-10-21 09:45:23 +02:00
Anh3h 9d9ccfc76b Update Dockerfile to use user-provided MySQL IP 2019-07-29 10:23:27 -04:00
Michael Vorburger.ch f13c076862 rm git & JDK from Dockerfile
Now that we separated the build and runtime containers,
we can have only a JRE but not a JDK in the runtime container
(whereas the builder container will still have a JRE).

This makes for a smaller, and more importantly,
more secure, runtime container image.

Also removing git from runtime container, as it's not used.
2019-07-23 10:17:56 +02:00
Michael Vorburger.ch 81c1468fa4 use multi-stage build in Dockerfile (fixes FINERACT-771) 2019-07-23 10:12:25 +02:00
Vishwas Babu A JandGitHub 624015acaa Merge pull request #613 from vorburger/FINERACT-765_rm-flyway-from-gradle
remove Flyway completely from Gradle build (fixes FINERACT-765)
2019-07-08 09:27:30 +05:30
Michael Vorburger.ch dd4923888b upgrade Drizzle JDBC from 1.3 to 1.4 2019-07-04 10:43:05 +02:00
Michael Vorburger.ch 0c2b1dc6dc remove Flyway completely from Gradle build (fixes FINERACT-765)
we (of course), still, but only, run it in-App at runtime boot

This is a clean-up which removes something we don't actually need.

Most importantly, it unblocks the Gradle upgrade in FINERACT-700,
where this doesn't work anymore anyway (and while there's a fix
making it work on one of my branches, it seems simpler to just
remove it).
2019-07-04 10:39:55 +02:00
conradspandMichael Vorburger ⛑️ 21f50ef132 Set host to fineractmysql when running in docker 2019-07-01 19:21:58 +02:00
conradspandMichael Vorburger ⛑️ b8dadd0419 Added license, moved db init file 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