Docker deployment admin problem

Hello. I have been using a docker-compose method for deploying keycloak mostly for developing a custom theme. I realized lately it doesn’t work anymore along with some weird behavior.
I can access localhost but when I go the admin panel I get a loop of a lot of redirects that look like this:

http://localhost:8080/auth/admin/master/console/#error=invalid_request&error_description=Missing+parameter%3A+code_challenge_method&state=b77f60b6-326b-4737-8528-a1405a91b991

and keycloak logs:

keycloak_1 | 09:02:41,801 INFO [org.keycloak.protocol.oidc.endpoints.AuthorizationEndpoint] (default task-6) PKCE enforced Client without code challenge method.
keycloak_1 | 09:02:41,801 WARN [org.keycloak.events] (default task-6) type=LOGIN_ERROR, realmId=master, clientId=security-admin-console, userId=null, ipAddress=172.18.0.1, error=invalid_request, response_type=code, redirect_uri=http://localhost:8080/auth/admin/master/console/, response_mode=fragment

my docker-compose file was based on this one taken from a github repo (not sure if I am allowed link it) I get the same issue using this one:

version: “3”

volumes:
postgres_data:
driver: local

services:
postgres:
image: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
keycloak:
build: .
volumes:
- ./themes:/opt/jboss/keycloak/themes
environment:
DB_VENDOR: POSTGRES
DB_ADDR: postgres
DB_DATABASE: keycloak
DB_USER: keycloak
DB_SCHEMA: public
DB_PASSWORD: password
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: Pa55w0rd
KEYCLOAK_WELCOME_THEME: mytheme
KEYCLOAK_DEFAULT_THEME: mytheme

ports:
  - 8080:8080
depends_on:
  - postgres

any idea what might be at fault?

Thank you for the help.