Skip to content

Commit 1a045cc

Browse files
committed
Fix: Clé API correcte 1°BIP Face Recognition
STRUCTURE DB: - app.id=1: "1°BIP Face Recognition" (app_key=e17391c8...) - model.id=1: "mellal recognition" (api_key=7d7b2220...) - subject.api_key → model.api_key (NOT app.id!) CORRECTION: - API key correcte: 7d7b2220-e198-407f-bd01-8ea7afa81172 - C'est la clé du MODEL "mellal recognition" - Pas la clé de l'APP "1°BIP Face Recognition" MIGRATION SQL NÉCESSAIRE: UPDATE subject SET api_key = '7d7b2220-e198-407f-bd01-8ea7afa81172' WHERE subject_name = 'mellal badr'; docker-compose.yml:134 camera-service/config/camera_config.env:56
1 parent 203b5e6 commit 1a045cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

camera-service/config/camera_config.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ COMPREFACE_API_URL=http://compreface-api:8080
5252
# 9. Redémarrer: docker-compose restart 1bip-camera-service
5353
#
5454
# EXEMPLE DE CLÉ: 00000000-0000-0000-0000-000000000001
55-
# Clé API de l'application "1°BIP Face Recognition"
56-
COMPREFACE_API_KEY=e17391c8-0832-43f8-90a3-e23a8a073793
55+
# Clé API du service "mellal recognition" dans l'app "1°BIP Face Recognition"
56+
COMPREFACE_API_KEY=7d7b2220-e198-407f-bd01-8ea7afa81172
5757

5858
# ===================================
5959
# RECOGNITION THRESHOLDS

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ services:
131131
- FLASK_DEBUG=false
132132
- CAMERA_LOGS_PATH=/app/camera_logs
133133
- COMPREFACE_API_URL=http://compreface-api:8080
134-
- COMPREFACE_API_KEY=e17391c8-0832-43f8-90a3-e23a8a073793
134+
- COMPREFACE_API_KEY=7d7b2220-e198-407f-bd01-8ea7afa81172
135135
volumes:
136136
- ./camera-service/logs:/app/camera_logs:ro
137137
networks:

0 commit comments

Comments
 (0)