- Translate all ~430 prompts to Spanish with cultural adaptations - Translate all UI strings (frontend, admin, history, broadcast) - Translate AI system prompts; models now respond in Spanish - Replace Twitch/Fossabot viewer voting with in-site vote buttons - Add POST /api/vote endpoint (IP-based, supports vote switching) - Vote buttons appear during voting phase with active state highlight - Rename project to argument.es throughout (package.json, cookie, DB) - Add docker-compose.yml with SQLite volume mount - Add .env.sample documenting all required and optional vars Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
935 B
YAML
31 lines
935 B
YAML
services:
|
|
argumentes:
|
|
build: .
|
|
container_name: argument.es
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PORT:-5109}:${PORT:-5109}"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=${PORT:-5109}
|
|
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
|
|
- ADMIN_SECRET=${ADMIN_SECRET}
|
|
- DATABASE_PATH=/data/argumentes.sqlite
|
|
- VIEWER_VOTE_BROADCAST_DEBOUNCE_MS=${VIEWER_VOTE_BROADCAST_DEBOUNCE_MS:-250}
|
|
- HISTORY_LIMIT_PER_MIN=${HISTORY_LIMIT_PER_MIN:-120}
|
|
- ADMIN_LIMIT_PER_MIN=${ADMIN_LIMIT_PER_MIN:-10}
|
|
- MAX_WS_GLOBAL=${MAX_WS_GLOBAL:-100000}
|
|
- MAX_WS_PER_IP=${MAX_WS_PER_IP:-8}
|
|
- MAX_WS_NEW_PER_SEC=${MAX_WS_NEW_PER_SEC:-50}
|
|
volumes:
|
|
- argumentes_data:/data
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-5109}/healthz"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
argumentes_data:
|