Skip to content

Conversation

aguibert
Copy link
Member

In the hibernate orm guide we tell users to add the following to their application.properties:

# configure your datasource
quarkus.datasource.url = jdbc:postgresql://localhost:5432/mydatabase
quarkus.datasource.driver = org.postgresql.Driver
quarkus.datasource.username = sarah
quarkus.datasource.password = connor

And then later suggest that they can start a PostgreSQL database in a docker container with the following command:

docker run --ulimit memlock=-1:-1 -it --rm=true --memory-swappiness=0 \
           --name postgres-quarkus-hibernate -e POSTGRES_USER=hibernate \
           -e POSTGRES_PASSWORD=hibernate -e POSTGRES_DB=hibernate_db \
           -p 5432:5432 postgres:10.5

This docker command is a very useful tip, but we should have it match what we told people to put in their applicaiton.properties from earlier in the guide.

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@gsmet gsmet merged commit af4a95f into quarkusio:master Oct 16, 2019
@gsmet
Copy link
Member

gsmet commented Oct 16, 2019

Thanks, merged.

@gsmet gsmet added this to the 0.26.0 milestone Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants