Hi guys, I’m trying to get my keycloak local instance get to work with a local postgres DB, but I’m constantly getting the same error on different parameters Option 'xxx' expects a single value
(it might be with “–db”, “–db-password” or whatever param I use. Examples:
With Docker
docker run --name keycloak_auto_build -p 8080:8080 \
-e KEYCLOAK_ADMIN=admuser -e KEYCLOAK_ADMIN_PASSWORD=admpassword \
quay.io/keycloak/keycloak:18.0.2 \
start-dev \
--auto-build \
--db=postgres \
–-hostname-strict=false \
--db-url=jdbc:postgresql://localhost:5432/keycloak --db-username=myuser --db-password=mypassword
From command line:
bin/kc.sh start --db-url=jdbc:postgresql://localhost:5432/MY_SCHEMA --db-username=myuser --db-password=mypassword --db-schema=MY_SCHEMA
Has anyone an idea about what’s wrong? I’m using keycloak 18.0.2 quarkus version, and it’s really driven me crazy this situation.