-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (29 loc) · 1.24 KB
/
Copy path.env.example
File metadata and controls
37 lines (29 loc) · 1.24 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
# wigtoken configuration.
# All values are optional unless noted. Solo deployments work with no
# .env at all — these are the knobs Team / self-host operators use.
# --- Mode ---
# solo | team. Auto-detected from CLAUDE_PROJECTS_DIR layout when unset.
# MODE=team
# --- Paths ---
# Solo: defaults to ~/.claude/projects (Claude Code's hardcoded path).
# Team: point at the shared root that contains <user>/projects/ trees.
# CLAUDE_PROJECTS_DIR=/var/lib/wigtoken/data
# Where SQLite lives (default: <repo>/data/stats.db).
# STATS_DB_PATH=/var/lib/wigtoken/stats.db
# --- Network ---
# Listen port (default 10103).
# PORT=10103
# Comma-separated CORS allowlist. Public counter consumers go here.
# ALLOWED_ORIGINS=https://yourdomain.com,http://localhost:3000
# --- Watcher tuning ---
# `true` enables stat polling, needed when running on macOS Docker bind
# mounts. Set `false` for native macOS / Linux hosts where fsevents/
# inotify work directly.
# WATCH_POLLING=true
# WATCH_INTERVAL_MS=1000
# Backup readdir walk interval. Covers cases the live watcher misses
# (new sub-dirs, mount staleness). Lower = faster recovery, more I/O.
# SCAN_INTERVAL_MS=5000
# --- Solo defaults ---
# Label used in metrics for the implicit single-user mode.
# DEFAULT_USER=local