Standalone Java health check
- Updated Dockerfile to compile HealthCheck.java into the distroless image at /app - Updated README with a "Docker Health Check" section documenting how to run the health check on-demand and how to enable periodic checks - Also fixed Hibernate dialect override (SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT → HIBERNATE_DIALECT) to resolve DDL failures when starting with a fresh PostgreSQL database.
This commit is contained in:
@@ -120,7 +120,7 @@ spring:
|
||||
# Hibernate dialect is auto-detected except for H2/Postgres.
|
||||
# If using H2: ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect
|
||||
# If using Postgres: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgresDialect
|
||||
dialect: ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect
|
||||
dialect: ${HIBERNATE_DIALECT:ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect}
|
||||
|
||||
# --- Optional Hibernate DDL & tuning (commented out from source) ---
|
||||
hbm2ddl:
|
||||
|
||||
Reference in New Issue
Block a user