OpenPype Mongo URL definition
## Description
Currently is OpenPype Mongo URL defined by keyring value but keyring may not be available on workstation. Instead of keyring should use environment variable if possible.
diff --git a/igniter/install_dialog.py b/igniter/install_dialog.py
index e6439b5129..411fac1e96 100644
--- a/igniter/install_dialog.py
+++ b/igniter/install_dialog.py
@@ -386,7 +386,11 @@ class InstallDialog(QtWidgets.QDialog):
         self._enable_buttons()
 
     def _run_openpype_from_code(self):
-        self._secure_registry.set_item("openPypeMongo", self.mongo_url)
+        os.environ["OPENPYPE_MONGO"] = self.mongo_url
+        try:
+            self._secure_registry.set_item("openPypeMongo", self.mongo_url)
+        except ValueError:
+            print("Couldn't save Mongo URL to keyring")
 
         self.done(2)
 
diff --git a/start.py b/start.py
index 0295d0ca62..c24e20f63f 100644
--- a/start.py
+++ b/start.py
@@ -334,11 +334,13 @@ def _determine_mongodb() -> str:
         if result == 0:
             raise RuntimeError("MongoDB URL was not defined")
 
-        try:
-            openpype_mongo = bootstrap.secure_registry.get_item(
-                "openPypeMongo")
-        except ValueError:
-            raise RuntimeError("Missing MongoDB url")
+        openpype_mongo = os.getenv("OPENPYPE_MONGO")
+        if not openpype_mongo:
+            try:
+                openpype_mongo = bootstrap.secure_registry.get_item(
+                    "openPypeMongo")
+            except ValueError:
+                raise RuntimeError("Missing MongoDB url")
 
     return openpype_mongo
 
['igniter/install_dialog.py', 'start.py']