🐛(backend) resolve backchannel calls to LiveKit in docker-compose

Fix container networking issue where app-dev container couldn't resolve
localhost address when calling LiveKit API. Update configuration to use
proper container network addressing for backchannel communication between
services.
This commit is contained in:
lebaudantoine
2025-04-24 17:11:10 +02:00
parent ae17fbdaa8
commit 888dfe76c7
3 changed files with 7 additions and 2 deletions

View File

@@ -45,9 +45,11 @@ def test_create_livekit_client_ssl_disabled(
@mock.patch("asyncio.get_running_loop")
@mock.patch("core.utils.LiveKitAPI")
def test_create_livekit_client_custom_configuration(
mock_livekit_api, mock_get_running_loop
mock_livekit_api, mock_get_running_loop, settings
):
"""Test LiveKitAPI client creation with custom configuration."""
settings.LIVEKIT_VERIFY_SSL = True
mock_get_running_loop.return_value = mock.MagicMock()
custom_configuration = {
"api_key": "mock_key",