d8bcdce879
commit 0d624137c2557c6eeb87020749e4977b821c2b5c Author: Adrien <adrien.cesaro@proton.me> Date: Thu Apr 9 11:55:22 2026 +0200 backend native image setup
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# Data Model: Native Image Deployment
|
|
|
|
**Branch**: `005-native-image-deployment` | **Date**: 2026-04-07
|
|
|
|
## Summary
|
|
|
|
This feature introduces **no new data entities**. It is a build and packaging change only.
|
|
|
|
The existing data model (books, sections, figures, messages, pgvector embeddings) is unchanged.
|
|
All Flyway migrations run identically in native mode as in JVM mode.
|
|
|
|
## Impact on Existing Entities
|
|
|
|
| Entity | Change |
|
|
|--------|--------|
|
|
| Books | None |
|
|
| Sections | None |
|
|
| Figures | None |
|
|
| Messages | None |
|
|
| pgvector embeddings | None |
|
|
|
|
## Configuration Properties (new/changed)
|
|
|
|
The following new or updated configuration properties are added for native deployment:
|
|
|
|
| Property | Description | Default |
|
|
|----------|-------------|---------|
|
|
| `jib.to.image` | Target Docker image name/tag | (set at build time) |
|
|
| `jib.to.auth.username` | Docker registry username | (CI env var) |
|
|
| `jib.to.auth.password` | Docker registry password | (CI env var) |
|
|
|
|
All runtime configuration (database URL, OpenAI API key, S3 credentials) remains in
|
|
`application.properties` / environment variables — unchanged.
|