ccproxy.api.bootstrap¶
ccproxy.api.bootstrap
¶
Application bootstrapping and dependency injection container setup.
This module is responsible for the initial setup of the application's core services, including configuration loading and service container initialization. It acts as the main entry point for assembling the application's components before the web server starts.
create_service_container
¶
Create and configure the service container.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
settings
|
Settings | None
|
Optional pre-loaded settings instance. If not provided, settings will be loaded from config files/environment. |
None
|
Returns:
| Type | Description |
|---|---|
ServiceContainer
|
The initialized service container. |