Docker installation - user creation

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 :star_struck:
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 :smiley:, 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 :roll_eyes: Without a doubt, it must come from my must come from my configuration

image

I verified more than once the Username ans password :woozy_face:. I also tried with the email.

The log is :cowboy_hat_face: :

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 :upside_down_face: :
Router :
80 → 2180
443 → 21443
Docker NPM :
2180 → 80
21443 → 443

The problem is the same in localhost and through DNS. :wink:

Many thanks for help. :smiley:

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 !!