Skip to content

Commit

Permalink
Merge pull request #17132 from NetoDevel/feature/netodevel-docs-redis…
Browse files Browse the repository at this point in the history
…-devservices

Add information about DevServices in Redis documentation
  • Loading branch information
gastaldi authored May 11, 2021
2 parents 0aa1610 + b9ae734 commit 17c6cab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/main/asciidoc/redis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,9 @@ Quarkus supports a feature called DevServices that allows you to create various
What that means practically, is that if you have docker running and have not configured `quarkus.redis.hosts`,
Quarkus will automatically start a Redis container when running tests or dev-mode, and automatically configure the connection.

Available properties to customize the Redis DevService.
include::{generated-dir}/config/quarkus-redis-client-config-group-dev-services-config.adoc[opts=optional, leveloffset=+1]

When running the production version of the application, the Redis connection need to be configured as normal,
so if you want to include a production database config in your `application.properties` and continue to use DevServices
we recommend that you use the `%prod.` profile to define your Redis settings.
Expand Down

0 comments on commit 17c6cab

Please sign in to comment.