Both https://github.com/metabase/metabase/blob/master/bin/start and https://github.com/metabase/metabase-deploy/blob/master/bin/start set
export MB_DB_CONNECTION_URI="$DATABASE_URL"
Is this actually used anywhere? It seems like only the variables set in MB_DB_* are used for the DB connection