Pass args as env
Change-Id: Iec4477b64f77f1c96bf11c2dece6c128dbf1ab04
diff --git a/person_detection/config.py b/person_detection/config.py
index f1cb46e..adf48ee 100644
--- a/person_detection/config.py
+++ b/person_detection/config.py
@@ -3,4 +3,16 @@
SPDX-License-Identifier: LicenseRef-ONF-Member-1.01
"""
+import os
+
cameras = {"0": "Camera 0", "1": "Camera 1", "2": "Camera 2"}
+
+ROCURL = os.environ.get("ROCURL")
+KEYCLOAKURL = os.environ.get("KEYCLOAKURL")
+ENTERPRISE = os.environ.get("ENTERPRISE")
+SITE = os.environ.get("SITE")
+DEVICEGROUP = os.environ.get("DEVICEGROUP")
+ROCUSER = os.environ.get("ROCUSER")
+ROCPASSWORD = os.environ.get("ROCPASSWORD")
+NUMDEVICES = os.environ.get("NUMDEVICES", 1)
+