Skip to content

Commit

Permalink
Fix minor DevServices for Keycloak typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Aug 17, 2021
1 parent 693a571 commit 8480de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class DevServicesConfig {

/**
* If DevServices has been explicitly enabled or disabled..
* If DevServices has been explicitly enabled or disabled.
* <p>
* When DevServices is enabled Quarkus will attempt to automatically configure and start
* Keycloak when running in Dev or Test mode and when Docker is running.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ protected void configure() {
if (useSharedNetwork) {
// When a shared network is requested for the launched containers, we need to configure
// the container to use it. We also need to create a hostname that will be applied to the returned
// Redis URL
// Keycloak URL
setNetwork(Network.SHARED);
hostName = "redis-" + Base58.randomString(5);
hostName = "keycloak-" + Base58.randomString(5);
setNetworkAliases(Collections.singletonList(hostName));
} else {
if (fixedExposedPort.isPresent()) {
Expand Down

0 comments on commit 8480de2

Please sign in to comment.