📝(backend) use certifi certificate for livekit-api dependency

LiveKit uses aiohttp which relies on the ssl module under the hood.
Set certificate file using an env variable, similar to @rouja's fix
for the request module.

This tweak applies only in the dev environment.
This commit is contained in:
lebaudantoine
2025-02-25 23:03:18 +01:00
committed by aleb_the_flash
parent e9ebac46ac
commit 7fad60d9a9
2 changed files with 2 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ backend:
RECORDING_STORAGE_EVENT_TOKEN: password
SUMMARY_SERVICE_ENDPOINT: http://meet-summary:80/api/v1/tasks/
SUMMARY_SERVICE_API_TOKEN: password
SSL_CERT_FILE: /usr/local/lib/python3.12/site-packages/certifi/cacert.pem
migrate:

View File

@@ -89,6 +89,7 @@ backend:
name: backend
key: BREVO_API_KEY
BREVO_API_CONTACT_LIST_IDS: 8
SSL_CERT_FILE: /usr/local/lib/python3.12/site-packages/certifi/cacert.pem
migrate: