Easy to fix, all what you need after updating your Docker or docker compose to run the command below, to export the new TLS version,
export COMPOSE_TLS_VERSION=TLSv1_2