dune-tools/character-builder/docker-compose.yml
Vantz Stockwell 98a1792106 Add Dune Awakening character builder + initial project scaffolding
- character-builder/: Vue 3 + NestJS + Valkey app for planning house, class,
  character XP, 5 spec tracks, faction standing, and skill trees. Shareable
  via short link (POST /api/builds → 8-char nanoid).
- character-builder/data/: parsed JSON tables (character XP through L200,
  5 specs to L100, 2 faction standing tables, 5 class skill trees).
- character-builder/scripts/extract.py: parser that regenerates data/*.json
  from the gitignored sample-data/*.html snapshots.
- Dockerfile + docker-compose.yml: two-container deploy (app + Valkey).
- specialization-calculator/: pre-existing single-file XP/quest calculator,
  carried into the repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 07:30:37 -04:00

38 lines
750 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
image: dune-character-builder:latest
container_name: dune-builder-app
restart: unless-stopped
environment:
VALKEY_URL: redis://valkey:6379
PORT: "3000"
depends_on:
valkey:
condition: service_healthy
ports:
- "8080:3000"
valkey:
image: valkey/valkey:8-alpine
container_name: dune-builder-valkey
restart: unless-stopped
command:
- valkey-server
- --appendonly
- "yes"
- --save
- "60"
- "1"
volumes:
- valkey-data:/data
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
volumes:
valkey-data: