-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
31 lines (26 loc) · 1.02 KB
/
Copy path.env.example
File metadata and controls
31 lines (26 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Database Configuration
DATABASE_URL=postgres://postgres:postgres@localhost:5432/face_db
# PostgreSQL Settings (for Docker Compose)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=face_db
# API Configuration
PORT=3000
# Face Detection Configuration
# Confidence threshold for face detection (0.0 - 1.0)
# Lower values = more detections but more false positives
# Higher values = fewer detections but higher accuracy
FACE_DETECTION_CONFIDENCE_THRESHOLD=0.8
# Face Recognition Configuration
# Minimum cosine similarity required before a nearest neighbor is accepted as a match.
# Lower values = more matches but more false accepts
# Higher values = fewer matches but more false rejects
FACE_RECOGNITION_CONFIDENCE_THRESHOLD=0.5
# RustFS S3-Compatible Storage Configuration
# Endpoint: Use http://rustfs:9000 inside Docker, http://localhost:9000 for local testing
S3_ENDPOINT=http://localhost:9000
S3_BUCKET=facevector-engine
S3_ACCESS_KEY=rustfsadmin
S3_SECRET_KEY=rustfsadmin
S3_REGION=us-east-1
S3_FORCE_PATH_STYLE=true