Files
botfights/docker-compose.yml
T
DorianandClaude Opus 4.6 abe4efe760 feat: Creator human companion — deep hood, detailed Guy Fawkes mask, cloak, gloves
- Rewrote Creator human sprite: taller hood peak, face-framing shadows,
  neck-to-cloak coverage, wider flowing cloak with hem detail, 6 matrix
  code streams, dramatic arched brows, 3px golden eye slits with glow,
  wider curled mustache, wider smile arc, extended goatee, larger Bitcoin
  emblem with serifs, laptop with terminal glow + coach sparks, dark
  gloves covering skin, 6-particle gold orbit, 8-particle shadow aura
- docker-compose: pass wallet/payment env vars from Portainer
- JoinBoutPage: fix isLoading ref access bug, add max 12-char name validation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 14:30:31 +00:00

34 lines
1.3 KiB
YAML

services:
botfights:
build: .
container_name: botfights
restart: unless-stopped
ports:
- "9100:9100"
volumes:
- botfights-data:/app/server/data
environment:
- NODE_ENV=production
- PORT=9100
# Queue: how long (ms) before falling back to mock bot (default 30s in prod)
# - QUEUE_TIMEOUT_MS=30000
# CORS: set to your domain in prod, or leave for same-origin
# - CORS_ORIGIN=https://botfights.example.com
# Background fights: mock bots fight each other for site activity
- FIGHT_LOOP_ENABLED=true
# - FIGHT_LOOP_INTERVAL_MS=45000
# - FIGHT_LOOP_QUIET_START=2
# - FIGHT_LOOP_QUIET_END=8
# ── Wallet / Payments (required for ranked fights) ──
# Set these in Portainer's stack "Environment Variables" section.
# Generate encryption key with: openssl rand -hex 32
- BOTFIGHTS_WALLET_ENCRYPTION_KEY=${BOTFIGHTS_WALLET_ENCRYPTION_KEY:-}
- BOTFIGHTS_NWC_URL=${BOTFIGHTS_NWC_URL:-}
- BOTFIGHTS_CASHU_MINT_URL=${BOTFIGHTS_CASHU_MINT_URL:-}
- BOTFIGHTS_DEV_PAYOUT_LNADDRESS=${BOTFIGHTS_DEV_PAYOUT_LNADDRESS:-}
# SQLite database path (defaults to /app/server/data/botfights.db)
# - DB_PATH=/app/server/data/botfights.db
volumes:
botfights-data: