-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (32 loc) · 2.26 KB
/
.env.example
File metadata and controls
40 lines (32 loc) · 2.26 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
# ── Required ──────────────────────────────────────────────────────────────────
# Your Anthropic API key (https://console.anthropic.com/keys)
ANTHROPIC_API_KEY=sk-ant-...
# ── WaniKani ───────────────────────────────────────────────────────────────────
# Personal access token from https://www.wanikani.com/settings/personal_access_tokens
# When set, the Japanese widget draws daily words from your active vocabulary
# assignments instead of the embedded word list.
# Leave blank to use the built-in word list + Jotoba (no account required).
WANIKANI_API_TOKEN=
# ── Optional — Google Calendar ─────────────────────────────────────────────────
# Path to a service account JSON file OR the raw JSON string.
# Leave blank to show placeholder events.
GOOGLE_CREDENTIALS_JSON=
# The calendar ID to fetch events from (usually your email address).
GOOGLE_CALENDAR_ID=primary
# ── Storage ────────────────────────────────────────────────────────────────────
# Default: embedded bolt DB written to DATA_DIR/dashboard.db (no extra service needed).
# To use Redis instead, set STORE_URL and run: docker compose --profile redis up
#
# STORE_URL=redis://localhost:6379
# STORE_URL=redis://:password@localhost:6379/0
# STORE_URL=rediss://localhost:6380 (TLS)
STORE_URL=
# Only used when STORE_URL is empty (embedded bolt backend).
DATA_DIR=./data
# ── Server ─────────────────────────────────────────────────────────────────────
PORT=8080
# Comma-separated list of allowed CORS origins.
ALLOWED_ORIGINS=http://localhost:5173
# Optional shared secret — if set, every /api/* request must include
# the header "X-Dashboard-Key: <value>".
DASHBOARD_KEY=