Hello guys,
I’m new on that forum ! It looks nice with lot af people! great to hope to have an effective response in a good mood
SO… I installed keycloak on docker like that :
version: "3.9"
networks:
secure:
name: security
external: true
services:
postgres:
image: postgres
container_name: KEYCLOAK-DB
restart: always
volumes:
- /volumex/keycloak/db:/var/lib/postgresql/data
ports:
- 2680:5432
environment:
POSTGRES_DB: keycloakdb
POSTGRES_USER: ${dbuser}
POSTGRES_PASSWORD: ${dbpwd}
networks:
secure:
keycloak:
image: quay.io/keycloak/keycloak:legacy
container_name: KEYCLOAK
restart: always
ports:
# Admin Web Port:
- 8711:8080
environment:
DB_VENDOR: POSTGRES
DB_ADDR: postgres
DB_DATABASE: keycloakdb
DB_USER: ${dbuser}
DB_SCHEMA: public
DB_PASSWORD: ${dbpwd}
KEYCLOAK_USER: ${user}
KEYCLOAK_PASSWORD: ${pwd}
PROXY_ADDRESS_FORWARDING: true
depends_on:
- postgres
networks:
secure:
I specify, the database folder is read/write for everyone.
It lloks nice , I can access for the administrator but after that I created a new user by following that link :
it doesn’t works anymore @ step : " Log in to the Account Console" … Too bad because this is just the beginning Without a doubt, it must come from my must come from my configuration
I verified more than once the Username ans password . I also tried with the email.
The log is :
08:25:48,597 WARN [org.keycloak.events] (default task-10) type=LOGIN_ERROR, realmId=xxx, clientId=security-admin-console, userId=xxx, ipAddress=xx.xx.xx.xx, error=invalid_user_credentials, auth_method=openid-connect, auth_type=code, selected_credential_id=xxxx, redirect_uri=https://subdomain.mydomain.com/auth/admin/master/console/#/myrealm/users/xxx/settings, code_id=xxxx, authSessionParentId=xxxxx, authSessionTabId=xxxx
Should it be a problem with my port which are forwared like that :
Router :
80 → 2180
443 → 21443
Docker NPM :
2180 → 80
21443 → 443
The problem is the same in localhost and through DNS.
Many thanks for help.
Subsidiary question for the future : Does anybody have an explaination for the "Edit Proxy Host configuration in Nginx Proxy Manager please ?
Have a nide day !!