Repository navigation
Expand file tree
/
Copy path.dev.vars.example
More file actions
51 lines (45 loc) · 2.38 KB
/
Copy path.dev.vars.example
File metadata and controls
51 lines (45 loc) · 2.38 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
# Copy to .dev.vars for local development (`bun run dev`).
# These are the same names as the production secrets (`bun run wrangler -- secret put ...`).
R2_ACCESS_KEY_ID=your-r2-access-key-id
R2_SECRET_ACCESS_KEY=your-r2-secret-access-key
REPLICATE_API_TOKEN=r8_your_replicate_token
REPLICATE_MODEL_VERSION=paste-latest-version-hash-here
# Both YouTube fallback fields are required together. Pin an exact deployed
# version; the literal value "latest" is rejected.
# REPLICATE_YT_MODEL=owner/model-name
# REPLICATE_YT_MODEL_VERSION=paste-exact-version-id-here
WEBHOOK_SECRET=any-long-random-string
CLASS_CODE=your-class-code
# Optional instructor console provisioning. Generate only hashed records using
# docs/teacher-provisioning.md; never put a real seed in this example file.
# TEACHER_SEED=[{"username":"instructor","name":"Course Instructor","salt":"...","hash":"...","iterations":210000}]
# Server Auto is fail-lazy and off by default. Enable shadow before
# authoritative mode, and configure the private analysis endpoint as a pair.
# SERVER_AUTO_ENABLED=true
# SERVER_AUTO_MODE=shadow
# AUDIO_ANALYSIS_URL=http://audio-analysis.railway.internal:8080
# AUDIO_ANALYSIS_TOKEN=choose-at-least-32-private-characters
# AUDIO_ANALYSIS_TIMEOUT_MS=25000
# Before Phase 2 shadow, use 30000 and keep analyzer fetch + decode + discovery
# timeouts at or below 28000 in total.
# INSTRUMENT_DISCOVERY_ENABLED=true
# QUERY_ISOLATION_ENABLED=true
# QUERY_ISOLATION_MODE=shadow
# REPLICATE_AUDIOSEP_VERSION=f07004438b8f3e6c5b720ba889389007cbf8dbbc9caa124afc24d9bbd2d307b8
# Fully local Audio Separator + BS-RoFormer development (no production
# credentials required). These values override wrangler.jsonc in local mode.
# LOCAL_DEV=1
# PUBLIC_BASE_URL=http://127.0.0.1:8787
# SEPARATION_BACKEND=audio-separator
# AUDIO_SEPARATOR_URL=http://127.0.0.1:8765
# AUDIO_SEPARATOR_TOKEN=choose-a-local-service-token
# For simulated local D1/R2 behind Tailscale Funnel, pass these as Wrangler
# --var flags so they cannot be enabled accidentally:
# LOCAL_HOSTING=true
# PUBLIC_BASE_URL=https://your-funnel-host.example
# Listening Guide fleet integration (requires both CAIL identity headers).
# CAIL_IDENTITY_JWKS={"keys": [...]}
# CAIL_IDENTITY_ISSUER=https://tools.ailab.gc.cuny.edu/cail-sso
# CAIL_GATEWAY_URL=https://tools.ailab.gc.cuny.edu
# CAIL_SOURCE_VERSION=<exact-40-character-commit>
# CAIL_READINESS_TOKEN=<private-readiness-token>