Closed mraible closed 2 years ago
@mshima Do you know how to modify this blueprint to include the database files from the main generator in src/main/docker
? I think something needs to change at https://github.com/jhipster/generator-jhipster-quarkus/blob/main/generators/server/files.js#L643.
@mraible indeed. We need a new generator-jhipster release with https://github.com/jhipster/generator-jhipster/pull/20069.
@mshima I created https://github.com/jhipster/generator-jhipster-quarkus/pull/253 as a workaround until the next JHipster release.
@mraible updated the PR so we don’t need to copy the templates and wait for new release.
@mshima Thanks! Please merge #252 at your convenience.
I don't have permission on this repo
It doesn't look like I can give them to you either. Please collect the bounty for solving this problem!
No problem.
@DanielFran bug bounty claimed https://opencollective.com/generator-jhipster/expenses/120311
@mshima approved
I was able to successfully build a native image with GraalVM CE 22.2.0 using
mvn package -Pnative,prod
. However, when I try to start it withtarget/*runner
, there's an error:If I change
application.properties
from:To:
... it works!
However, the app doesn't start because it can't connect to MySQL and there's no Docker Compose file created for MySQL.
Here's the
.yo-rc.json
I'm using to test: