Env-based config, Java 21 / Kotlin 2.4.10 upgrade #10

Merged
walamana merged 2 commits from chore/java21-kotlin-2.4 into main 2026-11-19 16:48:57 +01:00
Owner

Changes

  • 23e3c6a – migrate application configuration to environment: single application.conf bundled in the jar with defaults; every value overridable by env var. Only JWT_SECRET and ADMIN_PASSWORD are required. Removes application_*.conf files and the -config= entrypoint flag.
  • fc0b380 – upgrade to Java 21 and Kotlin 2.4.10: runtime image amazoncorretto:21 (matches CI JDK), Kotlin + serialization plugin 2.4.10, backend build/ excluded from Docker context, home redirect renders HomeView and tolerates a non-array getPlans() response.

Verification

  • ./gradlew test passes locally on JDK 21, also without a local .env.
  • Fixes the ApplicationTest failure from CI run 96 on 1aa87f3 (reproduced locally on that commit).
  • Env vars of both Portainer deployments (miniplan, miniplan-hedwig) already cover every variable the new config reads (names only; values are redacted).
  • Not verified: Docker image build, frontend build.

🤖 Generated with Claude Code

## Changes - **23e3c6a – migrate application configuration to environment**: single `application.conf` bundled in the jar with defaults; every value overridable by env var. Only `JWT_SECRET` and `ADMIN_PASSWORD` are required. Removes `application_*.conf` files and the `-config=` entrypoint flag. - **fc0b380 – upgrade to Java 21 and Kotlin 2.4.10**: runtime image `amazoncorretto:21` (matches CI JDK), Kotlin + serialization plugin 2.4.10, backend `build/` excluded from Docker context, home redirect renders `HomeView` and tolerates a non-array `getPlans()` response. ## Verification - `./gradlew test` passes locally on JDK 21, also without a local `.env`. - Fixes the `ApplicationTest` failure from CI run 96 on `1aa87f3` (reproduced locally on that commit). - Env vars of both Portainer deployments (`miniplan`, `miniplan-hedwig`) already cover every variable the new config reads (names only; values are redacted). - Not verified: Docker image build, frontend build. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
walamana added 2 commits 2026-11-19 16:41:18 +01:00
- Run the image on amazoncorretto:21 (matches CI test JDK)
- Bump Kotlin and serialization plugin to 2.4.10
- Ignore backend build dir in Docker context
- Home redirect: render HomeView and tolerate non-array getPlans() response

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
walamana merged commit b64dfa6c6a into main 2026-11-19 16:48:57 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: walamana/miniplan#10