feat: add RabbitMQ configuration to app settings

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-08-01 00:15:06 +08:00
parent 6ea40142ac
commit d74967db55

View File

@ -18,7 +18,13 @@ class AppSettings(BaseSettings):
LOG_BASE_PATH: str = "./log" LOG_BASE_PATH: str = "./log"
BACKEND_LOG_FILE_NAME: str = APP_NAME BACKEND_LOG_FILE_NAME: str = APP_NAME
APPLICATION_ACTIVITY_LOG: str = APP_NAME + "-application-activity" APPLICATION_ACTIVITY_LOG: str = APP_NAME + "-application-activity"\
RABBITMQ_HOST: str = "localhost"
RABBITMQ_PORT: int = 5672
RABBITMQ_USERNAME: str = "guest"
RABBITMQ_PASSWORD: str = "guest"
RABBITMQ_VIRTUAL_HOST: str = "/"
class Config: class Config: