Skip to content

Commit

Permalink
feat: Allow funer tuning of shared network usage by Keycloak DevServices
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
  • Loading branch information
lbroudoux committed Aug 2, 2024
1 parent 92eef40 commit e4d746e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@ public DevServicesResultBuildItem startKeycloakContainer(
try {
List<String> errors = new ArrayList<>();

boolean useSharedNetwork = DevServicesSharedNetworkBuildItem.isSharedNetworkRequired(devServicesConfig,
devServicesSharedNetworkBuildItem);
RunningDevService newDevService = startContainer(dockerStatusBuildItem, keycloakBuildItemBuildProducer,
!devServicesSharedNetworkBuildItem.isEmpty(),
useSharedNetwork,
devServicesConfig.timeout,
errors);
if (newDevService == null) {
Expand Down

0 comments on commit e4d746e

Please sign in to comment.