mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-11 07:47:12 +02:00
updates ServiceConfig class
This commit is contained in:
@ -11,9 +11,11 @@ class OperationMode(BaseConfig): # type: ignore[misc]
|
||||
|
||||
|
||||
class ServiceConfig(BaseConfig): # type: ignore[misc]
|
||||
service_config_dir: Path = Path("config")
|
||||
config_dir: Path = Path("config")
|
||||
web_port: int = 8001
|
||||
rpc_port: int = 18871
|
||||
|
||||
CONFIG_SOURCES = EnvSource(allow=["SERVICE_CONFIG_DIR"])
|
||||
CONFIG_SOURCES = EnvSource(prefix="SERVICE_")
|
||||
|
||||
|
||||
class WebServerConfig(BaseConfig): # type: ignore[misc]
|
||||
|
Reference in New Issue
Block a user