Repository: quarkusio/quarkus
Issue: Redis Shared Dev Services Failed to Connect

### Describe the bug

When trying to use Red Dev Services, the second quarkus runtime will fail to connect to the initial redis container due to unsupported redis connection string scheme.

### Expected behavior

A successful connection to the shared redis container.

### Actual behavior

The connection fails with the following error:
java.lang.IllegalArgumentException: Unsupported Redis connection string scheme [localhost]

### How to Reproduce?

Reproducer:
https://github.com/AdlerFleurant/quarkus-dev-demo

Steps to reproduce the behavior (use 3 separate command line tabs):
1. `./gradlew inventory-incoming:quarkusDev`
2. `./gradlew inventory:quarkusDev`
3. `curl http://localhost:8080/entry`

Wait for each command to start successfully, before proceeding to the next.

After running the third command, the second tab will output an error starting with:
 java.lang.IllegalArgumentException: Unsupported Redis connection string scheme [localhost]

### Output of `uname -a` or `ver`

Darwin xxxxxxx-xxx 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:35:58 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T6000 arm64

### Output of `java -version`

openjdk version "17.0.2" 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-86) OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

2.7.5

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

------------------------------------------------------------ Gradle 7.4.1 ------------------------------------------------------------  Build time:   2022-03-09 15:04:47 UTC Revision:     36dc52588e09b4b72f2010bc07599e0ee0434e2e  Kotlin:       1.5.31 Groovy:       3.0.9 Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM:          17.0.2 (Oracle Corporation 17.0.2+8-86) OS:           Mac OS X 12.3 aarch64

### Additional information

_No response_

Changed files:
extensions/redis-client/deployment/src/main/java/io/quarkus/redis/client/deployment/DevServicesRedisProcessor.java

diff --git a/extensions/redis-client/deployment/src/main/java/io/quarkus/redis/client/deployment/DevServicesRedisProcessor.java b/extensions/redis-client/deployment/src/main/java/io/quarkus/redis/client/deployment/DevServicesRedisProcessor.java
index 5933c445164..dad2345df6b 100644
--- a/extensions/redis-client/deployment/src/main/java/io/quarkus/redis/client/deployment/DevServicesRedisProcessor.java
+++ b/extensions/redis-client/deployment/src/main/java/io/quarkus/redis/client/deployment/DevServicesRedisProcessor.java
@@ -184,8 +184,11 @@ private RunningDevService startContainer(String connectionName, DevServicesConfi
         };
 
         return redisContainerLocator.locateContainer(devServicesConfig.serviceName, devServicesConfig.shared, launchMode)
-                .map(containerAddress -> new RunningDevService(Feature.REDIS_CLIENT.getName(), containerAddress.getId(),
-                        null, configPrefix + RedisConfig.HOSTS_CONFIG_NAME, containerAddress.getUrl()))
+                .map(containerAddress -> {
+                    String redisUrl = REDIS_SCHEME + containerAddress.getUrl();
+                    return new RunningDevService(Feature.REDIS_CLIENT.getName(), containerAddress.getId(),
+                            null, configPrefix + RedisConfig.HOSTS_CONFIG_NAME, redisUrl);
+                })
                 .orElseGet(defaultRedisServerSupplier);
     }