mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 23:50:12 +01:00
feat: add supplemental theme catalog tooling, additional theme selection, and custom theme selection
This commit is contained in:
parent
3a1b011dbc
commit
9428e09cef
39 changed files with 3643 additions and 198 deletions
14
.env.example
14
.env.example
|
|
@ -37,6 +37,8 @@ SHOW_SETUP=1 # dockerhub: SHOW_SETUP="1"
|
|||
SHOW_LOGS=1 # dockerhub: SHOW_LOGS="1"
|
||||
SHOW_DIAGNOSTICS=1 # dockerhub: SHOW_DIAGNOSTICS="1"
|
||||
ENABLE_THEMES=1 # dockerhub: ENABLE_THEMES="1"
|
||||
ENABLE_CUSTOM_THEMES=1 # dockerhub: ENABLE_CUSTOM_THEMES="1"
|
||||
USER_THEME_LIMIT=8 # dockerhub: USER_THEME_LIMIT="8"
|
||||
ENABLE_PWA=0 # dockerhub: ENABLE_PWA="0"
|
||||
ENABLE_PRESETS=0 # dockerhub: ENABLE_PRESETS="0"
|
||||
WEB_VIRTUALIZE=1 # dockerhub: WEB_VIRTUALIZE="1"
|
||||
|
|
@ -50,6 +52,9 @@ RANDOM_MODES=1 # Enable backend random build endpoints
|
|||
RANDOM_UI=1 # Show Surprise/Reroll/Share controls in UI
|
||||
RANDOM_MAX_ATTEMPTS=5 # Cap retry attempts for constrained random builds
|
||||
# RANDOM_TIMEOUT_MS=5000 # Per-attempt timeout (ms)
|
||||
# RANDOM_REROLL_THROTTLE_MS=350 # Minimum ms between reroll requests
|
||||
# RANDOM_STRUCTURED_LOGS=0 # 1=emit structured JSON logs for random builds
|
||||
# RANDOM_TELEMETRY=0 # 1=emit lightweight timing/attempt metrics
|
||||
# HEADLESS_RANDOM_MODE=1 # Force headless runner to invoke random flow instead of scripted build
|
||||
# RANDOM_THEME=Treasure # Legacy single-theme alias (maps to primary theme if others unset)
|
||||
# RANDOM_PRIMARY_THEME=Treasure # Primary theme slug (case-insensitive)
|
||||
|
|
@ -64,6 +69,13 @@ RANDOM_AUTO_FILL_TERTIARY=1 # Explicit tertiary auto-fill override (fallb
|
|||
# RANDOM_SEED= # Optional deterministic seed (int or string)
|
||||
# RANDOM_OUTPUT_JSON=deck_files/random_build.json # Where to write random build metadata payload
|
||||
|
||||
# Optional server rate limiting (random endpoints)
|
||||
# RATE_LIMIT_ENABLED=0 # 1=enable server-side rate limiting for random endpoints
|
||||
# RATE_LIMIT_WINDOW_S=10 # window size in seconds
|
||||
# RATE_LIMIT_RANDOM=10 # max random attempts per window
|
||||
# RATE_LIMIT_BUILD=10 # max builds per window
|
||||
# RATE_LIMIT_SUGGEST=30 # max suggestions per window
|
||||
|
||||
############################
|
||||
# Automation & Performance (Web)
|
||||
############################
|
||||
|
|
@ -95,6 +107,8 @@ WEB_AUTO_ENFORCE=0 # dockerhub: WEB_AUTO_ENFORCE="0"
|
|||
# DECK_SECONDARY_TAG=Treasure
|
||||
# DECK_TERTIARY_TAG=Sacrifice
|
||||
# DECK_BRACKET_LEVEL=3 # 1–5 Power/Bracket selection.
|
||||
# DECK_ADDITIONAL_THEMES=Lifegain;Tokens Matter # Supplemental themes (comma/semicolon separated list) resolved via theme catalog.
|
||||
# THEME_MATCH_MODE=permissive # permissive|strict fuzzy resolution (strict aborts on unresolved themes).
|
||||
|
||||
############################
|
||||
# Category Toggles (Spell / Creature / Land Inclusion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue