diff --git a/src/pydase/config.py b/src/pydase/config.py index 65af08c..b7cacbe 100644 --- a/src/pydase/config.py +++ b/src/pydase/config.py @@ -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]