-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (40 loc) · 2.92 KB
/
Copy path.env.example
File metadata and controls
47 lines (40 loc) · 2.92 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
# ── Database ───────────────────────────────────────────────────────────────────
DATABASE_PATH=/data/warcraftarchive.db
# ── JWT ────────────────────────────────────────────────────────────────────────
JWT_SECRET_KEY=CHANGE_ME_TO_A_LONG_RANDOM_STRING_32_CHARS_MIN
JWT_ISSUER=WarcraftArchive.Api
JWT_AUDIENCE=WarcraftArchive.Client
JWT_ACCESS_TOKEN_MINUTES=15
JWT_REFRESH_TOKEN_DAYS=30
# ── Battle.net / Blizzard API ─────────────────────────────────────────────────
# Register the exact callback in https://develop.battle.net/access/clients.
# Keep BATTLENET_CLIENT_SECRET server-side and never expose it through VITE_*.
BATTLENET_CLIENT_ID=
BATTLENET_CLIENT_SECRET=
BATTLENET_REDIRECT_URI=https://localhost:7220/api/integrations/battlenet/callback
BATTLENET_PROFILE_REGION=us
BATTLENET_LOCALE=en_US
GAME_DATA_REGION=us
GAME_DATA_PRIMARY_LOCALE=en_US
GAME_DATA_FALLBACK_LOCALE=es_MX
# ── Household user connection protocol v1 ─────────────────────────────────────
# Server-side registered client metadata. Redirect URI matching is exact.
HOUSEHOLD_CLIENT_ID=household
HOUSEHOLD_REDIRECT_URIS=https://household.example/api/integrations/callback/provider,http://localhost:5019/integrations/callback/provider
HOUSEHOLD_ACCESS_TOKEN_MINUTES=15
HOUSEHOLD_REFRESH_TOKEN_DAYS=30
HOUSEHOLD_AUTHORIZATION_CODE_MINUTES=5
# ── CORS ───────────────────────────────────────────────────────────────────────
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# ── Seed / Admin ───────────────────────────────────────────────────────────────
SEED_ADMIN_ENABLED=false
SEED_ADMIN_EMAIL=admin@local
SEED_ADMIN_USERNAME=admin
SEED_ADMIN_PASSWORD=Admin123!123!
# ── Demo CSV import ────────────────────────────────────────────────────────────
# Set to true to import from CSV files on startup (idempotent)
DEMO_IMPORT_ENABLED=false
# Path containing Notion-exported CSVs (Personajes*.csv, Raids*.csv, Content Progress*.csv)
CSV_DATA_PATH=/data/csv
# ── Container port (used by docker-compose) ────────────────────────────────────
# API_PORT=8083