You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The eref-hapi container fails to start with PostgreSQL 15.18. The root cause is that Flyway Community Edition 10.x does not support PostgreSQL ≥15 (requires Teams/Enterprise license per Redgate licensing).
SPRING_CONFIG_LOCATION=file:/app/config/ replaces default config locations, so the embedded spring.flyway.enabled: false from src/main/resources/application.yaml is not loaded
The runtime config/application.yaml did not disable Flyway, triggering Flyway auto-configuration
Flyway CE 10.x only supports PostgreSQL ≤14
Fix Applied
Added spring.flyway.enabled: false to config/application.yaml
Description
The
eref-hapicontainer fails to start with PostgreSQL 15.18. The root cause is that Flyway Community Edition 10.x does not support PostgreSQL ≥15 (requires Teams/Enterprise license per Redgate licensing).Error
Root Cause
SPRING_CONFIG_LOCATION=file:/app/config/replaces default config locations, so the embeddedspring.flyway.enabled: falsefromsrc/main/resources/application.yamlis not loadedconfig/application.yamldid not disable Flyway, triggering Flyway auto-configurationFix Applied
spring.flyway.enabled: falsetoconfig/application.yamlallow-circular-references: truedoc→trueReferences