-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
39 lines (32 loc) · 1.47 KB
/
Copy pathenv.example
File metadata and controls
39 lines (32 loc) · 1.47 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
# Firebase Configuration
# Get these values from your Firebase project settings
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key_here
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
# Firestore is always used in the UI now. Remove legacy toggle.
# Firebase Admin SDK (for server-side operations)
FIREBASE_SERVICE_ACCOUNT_KEY=
# Application Configuration
NEXT_PUBLIC_APP_NAME="Printer Billing App"
NEXT_PUBLIC_APP_VERSION="1.0.0"
# Optional: Analytics and Monitoring
NEXT_PUBLIC_GA_ID=your_google_analytics_id
NEXT_PUBLIC_SENTRY_DSN=your_sentry_dsn
# Secure print ingest
# Shared secret for HMAC signing between Python agent and ingest API
PRINT_INGEST_HMAC_SECRET=change_me
# Static snapshots base URL (used to bootstrap data without Firestore reads)
# Example CDN/bucket: https://storage.googleapis.com/<bucket-name>/snapshots
# Example local: /snapshots (served from public/snapshots)
NEXT_PUBLIC_SNAPSHOT_BASE_URL=/snapshots
# Development safeguards and performance knobs
# Prevent expensive rebuilds unless explicitly allowed
ALLOW_SNAPSHOT_REBUILD_DEV=false
# Prefer smaller initial batches and fewer pages on first load
NEXT_PUBLIC_FETCH_BATCH_SIZE=250
NEXT_PUBLIC_MAX_INITIAL_PAGES=1
# Only update remote snapshots in prod by default
NEXT_PUBLIC_ENABLE_REMOTE_SNAPSHOT_UPDATE=false