Java Gradle Vertx Docker Doctor
Workflow
- •Capture failing command and environment.
Collect
./gradlewoutput, Java version, and Compose service status. - •Reproduce with smallest Gradle path.
Run
./gradlew clean testand./gradlew shadowJaror module equivalent. - •Verify runtime dependencies. Check PostgreSQL Redis and Flyway config values from env and config files.
- •Verify container integration.
Run
docker compose configand then start only required services. Check port conflicts, missing networks, and mounted file paths. - •Verify end-to-end startup. Start app with explicit profile and confirm health endpoint and critical DB queries.
Output Contract
Always provide:
- •Root cause and failing layer (build, migration, infra, runtime).
- •Minimal config or code changes.
- •Verification commands and pass results.
- •Remaining deployment risk notes.