新增用户引导

This commit is contained in:
Xuwznln
2025-08-01 01:01:29 +08:00
parent 2580e80d6f
commit b63e281ab7
4 changed files with 44 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ from unilabos.utils import logger
class BasicConfig:
ENV = "pro" # 'test'
working_dir = ""
config_path = ""
is_host_mode = True
slave_no_host = False # 是否跳过rclient.wait_for_service()

View File

@@ -0,0 +1,17 @@
# MQTT配置
class MQConfig:
lab_id = ""
instance_id = ""
access_key = ""
secret_key = ""
group_id = ""
broker_url = ""
port = 1883
ca_file = "CA.crt"
cert_file = "lab.crt"
key_file = "lab.key"
# HTTP配置
class HTTPConfig:
remote_addr = "https://uni-lab.bohrium.com/api/v1"