Allow Dynamic Selection of DB Connection Params

@George I found an older post about using Environment variables for DB connection.
Is this no longer possible? Same HTML files but different database connections for subdomains

Like @nshkrsh has pointed, if we set ENV variables, the query builders stop working in the UI.