54 lines
1.3 KiB
Bash
54 lines
1.3 KiB
Bash
# ---- Postgres ----
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5434
|
|
POSTGRES_DB=reception
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
DATABASE_URL=postgresql://postgres:postgres@localhost:5434/reception
|
|
|
|
# ---- Redis (BullMQ) ----
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6380
|
|
REDIS_URL=redis://localhost:6380
|
|
|
|
# ---- MinIO ----
|
|
MINIO_ENDPOINT=http://localhost:9000
|
|
MINIO_ROOT_USER=minioadmin
|
|
MINIO_ROOT_PASSWORD=minioadmin
|
|
MINIO_BUCKET=reception-evidence
|
|
|
|
# ---- Services ports ----
|
|
API_PORT=4000
|
|
POLIMED_MOCK_PORT=4100
|
|
FACE_SERVICE_PORT=8001
|
|
WEB_ADMIN_PORT=3000
|
|
|
|
# ---- Service URLs (apps see each other) ----
|
|
FACE_SERVICE_URL=http://localhost:8001
|
|
POLIMED_BASE_URL=http://localhost:4100
|
|
WEB_ADMIN_ORIGIN=http://localhost:3000
|
|
API_BASE_URL=http://localhost:4000
|
|
|
|
# ---- Auth ----
|
|
JWT_ACCESS_SECRET=dev-access-secret-change-me
|
|
JWT_REFRESH_SECRET=dev-refresh-secret-change-me
|
|
JWT_ACCESS_TTL=15m
|
|
JWT_REFRESH_TTL=30d
|
|
COOKIE_SECURE=false
|
|
|
|
# ---- Dev users (seeded by db:seed) ----
|
|
SEED_PASSWORD_MANAGER=manager123
|
|
SEED_PASSWORD_SENIOR=senior123
|
|
SEED_PASSWORD_SECURITY=security123
|
|
SEED_PASSWORD_SYSADMIN=admin123
|
|
|
|
# ---- Face-service thresholds (ТЗ §4.3) ----
|
|
REID_THRESHOLD=0.35
|
|
RECOGNITION_THRESHOLD=0.5
|
|
|
|
# ---- Consent revocation delay (prod=24h, e2e=5s) ----
|
|
CONSENT_REVOKE_DELAY_MS=86400000
|
|
|
|
# ---- Evidence TTL ----
|
|
EVIDENCE_PRESIGN_TTL_SECONDS=900
|