Config
SystemConfigData
Bases: BaseSettings
Encapsulates the general configuration of the MMISP Worker application.
api_host
class-attribute
instance-attribute
api_host: str = Field('0.0.0.0', validation_alias='API_HOST')
The host the API binds to.
api_key
class-attribute
instance-attribute
api_key: str = Field(validation_alias='API_KEY')
The key for the API.
api_port
class-attribute
instance-attribute
api_port: PositiveInt = Field(5000, validation_alias='API_PORT')
The port exposing the API.
worker_termination_timeout
class-attribute
instance-attribute
worker_termination_timeout: int = 30
The time in seconds to wait for the worker to terminate before kill.