-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
57 lines (49 loc) · 2.5 KB
/
Copy path.env.example
File metadata and controls
57 lines (49 loc) · 2.5 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
NEXT_PUBLIC_APP_URL=http://localhost:3000
BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET=replace-with-at-least-32-random-characters
SANDCHEST_API_KEY_PEPPER=replace-with-another-32-random-characters
# Omit DATABASE_URL during local macOS development to use durable embedded Postgres.
DATABASE_URL=postgres://sandchest:sandchest@localhost:5432/sandchest
SANDCHEST_INFERENCE_URL=http://127.0.0.1:8765
SANDCHEST_INFERENCE_TOKEN=replace-with-a-random-worker-token
SANDCHEST_MODEL=nvidia/parakeet-tdt-0.6b-v2
SANDCHEST_MULTILINGUAL_MODEL=nvidia/parakeet-tdt-0.6b-v3
SANDCHEST_ENGLISH_REFINEMENT=true
# Native Rust worker: auto selects Metal on macOS or CUDA on Linux, with no silent CPU fallback.
SANDCHEST_DEVICE=auto
# Both pinned models stay warm; each process runs one inference at a time.
# HF_HOME=/absolute/path/to/huggingface-cache
# Docker Compose requires independent database and object-storage passwords.
# POSTGRES_PASSWORD=replace-with-a-strong-independent-database-password
# MINIO_ROOT_PASSWORD=replace-with-a-strong-independent-object-storage-password
# Keep the control plane private unless a trusted HTTPS reverse proxy fronts it.
# SANDCHEST_BIND_ADDRESS=127.0.0.1
SANDCHEST_STORAGE_DRIVER=local
SANDCHEST_STORAGE_PATH=.sandchest/storage
SANDCHEST_AUDIO_RETENTION_HOURS=24
SANDCHEST_RATE_LIMIT_PER_MINUTE=120
SANDCHEST_COMPATIBILITY_POLL_WAIT_MS=12000
SANDCHEST_MAX_UPLOAD_BYTES=104857600
SANDCHEST_MAX_JOB_ATTEMPTS=3
SANDCHEST_QUEUE_CONCURRENCY=4
# Optional fixed deployment boundary for preserving historical queued work and audio.
# Jobs/transcripts and retained audio created before this time remain untouched.
# Keep the same timestamp on later releases; omit for ordinary self-hosted processing.
# SANDCHEST_PROCESSING_START_AT=2026-08-29T22:00:00.000Z
# S3-compatible production object storage.
# SANDCHEST_STORAGE_DRIVER=s3
# SANDCHEST_S3_BUCKET=sandchest-audio
# SANDCHEST_S3_ENDPOINT=http://localhost:9000
# AWS_REGION=us-east-1
# AWS_ACCESS_KEY_ID=replace-me
# AWS_SECRET_ACCESS_KEY=replace-me
# Optional AWS wake-up queue; Postgres remains the authoritative durable queue.
# SANDCHEST_SQS_QUEUE_URL=https://sqs.us-east-1.amazonaws.com/123456789012/sandchest
# Email codes are logged only in local development when Resend is unconfigured.
RESEND_API_KEY=re_replace_me
EMAIL_FROM=Sandchest <auth@example.com>
# Omit Autumn only for local development or explicitly self-hosted installations.
# SANDCHEST_SELF_HOSTED=true
AUTUMN_SECRET_KEY=am_sk_replace_me
AUTUMN_AUDIO_FEATURE_ID=audio_seconds
AUTUMN_PLAN_ID=sandchest