quarkusio / quarkus-quickstarts

Quarkus quickstart code
https://quarkus.io
Apache License 2.0
1.95k stars 1.46k forks source link

getting-started-reactive-crud application.properties sample #1231

Open luizmalere opened 1 year ago

luizmalere commented 1 year ago

Hello, I'm deploying the crud to an openshift cluster that has postgresql deployed and running.

I've tried both options:

%prod.quarkus.datasource.reactive.url=postgresql://postgresql_pod_ip:5432/quarkus_test %prod.quarkus.datasource.reactive.url=postgresql://postgresql_cluster_ip:5432/quarkus_test

[error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.IllegalStateException: Please configure the datasource URL for the default datasource or ensure the Docker daemon is up and running.

Cloud you please provide an example or some guidance on a Readme.md file. Thank you Luiz application.properties.txt

cescoffier commented 1 year ago

The error you see seems to be related to dev or test, not prod.