mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-13 13:58:41 +01:00
fixes service configuration (allow all environment variables)
This commit is contained in:
@@ -15,7 +15,7 @@ class ServiceConfig(BaseConfig): # type: ignore[misc]
|
|||||||
web_port: int = 8001
|
web_port: int = 8001
|
||||||
rpc_port: int = 18871
|
rpc_port: int = 18871
|
||||||
|
|
||||||
CONFIG_SOURCES = EnvSource(prefix="SERVICE_")
|
CONFIG_SOURCES = EnvSource(allow_all=True, prefix="SERVICE_")
|
||||||
|
|
||||||
|
|
||||||
class WebServerConfig(BaseConfig): # type: ignore[misc]
|
class WebServerConfig(BaseConfig): # type: ignore[misc]
|
||||||
|
|||||||
Reference in New Issue
Block a user