Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
63 lines (54 loc) · 2.01 KB
/
Copy path.env.example
File metadata and controls
63 lines (54 loc) · 2.01 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
52
53
54
55
56
57
58
59
60
61
62
63
# Copy to `.env.local` and fill in values for local Docker Compose testing.
# Database connection vars below are overridden by docker-compose (MariaDB service).
# --- Required for live Discord bot smoke ---
TOKEN=
OWNER=
CLIENT_ID=
# --- Shared ---
PREFIX=++
LOG_LEVEL=INFO
NODE_ENV=development
INVITE_URL=https://github.com/wfcd/genesis
CONTROL_GUILD_ID=
# Guild id where /su is allowed at runtime (Server Settings → Widget → Server ID). /su registers globally.
CONTROL_WH_ID=
CONTROL_WH_TOKEN=
SHARDS=1
LOCAL_SHARDS=1
SHARD_OFFSET=0
WORLDSTATE_TIMEOUT=60000
# Warframe API base URL (defaults to https://api.warframestat.us when unset)
# Prefix with _ to disable a local override, e.g. _API_BASE_PATH=http://localhost:56431
# API_BASE_PATH=http://localhost:56431
# Static catalog disk cache (weapons/warframes/mods/items) via flat-cache.
# Files land in .cache/ as api-catalog (same store dir as worker/twitch caches).
# API_CACHE_TTL_MS=86400000
# API_CACHE_DIR=.cache
# --- Bot profile (SCOPE=BOT, set in compose) ---
GAMES=UTIL,WARFRAME,ROOMS,CUST_CMDS,BOT_MGMT,CMD_MGMT,FUN
# --- Worker profile (docker compose --profile worker sets SCOPE=WORKER; required for npm run dev:worker too) ---
# SCOPE=WORKER
# GAMES=WARFRAME,UTIL,CUST_CMDS,RSS,TWITCH
# PLATFORMS=pc
# LOCALES=en
# WORKER_ID=en
# WORKER_CLUSTER=en,de,fr
# DEF_USER=Genesis
# TWITCH_CLIENT_ID=
# TWITCH_CLIENT_SECRET=
# --- Optional ---
# BUG_WH_ID=
# BUG_WH_TOKEN=
# RAVEN_URL=
# TWITCH_USER_LOGIN=warframe
# --- Integration tests (optional) ---
# npm run test:db # starts compose mariadb automatically if nothing is on :3306
# TEST_NO_COMPOSE=1 npm run test:db # fail fast instead of running docker compose
# --- Database (MariaDB / mysql2 driver; env names stay MYSQL_*) ---
# Docker Compose stores data in ./data/db (gitignored; delete that folder to reset).
# Host-side npm run dev: use 127.0.0.1 (not localhost — avoids Unix socket) and not mariadb (Docker-only hostname).
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=genesis
MYSQL_PASSWORD=genesis
MYSQL_DB=genesis