Files
claude-web-ui/docker-compose.yml
Nikolas Syring 38ab89932a feat: Add multi-host config and dynamic project scanning
Backend:
- Load hosts from config/hosts.json
- New /api/hosts endpoint listing available hosts
- Dynamic project scanning with configurable depth
- Support for local and SSH hosts (SSH execution coming next)

Frontend (by Web-UI Claude):
- Slash commands: /clear, /help, /export, /scroll, /new, /info
- Chat export as Markdown

Config:
- hosts.json defines hosts with connection info and base paths
- hosts.example.json as template (real config is gitignored)
- Each host has name, description, color, icon, basePaths

Next steps:
- SSH command execution for remote hosts
- Frontend host selector UI
- Multi-agent collaboration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 22:11:22 +01:00

46 lines
1.3 KiB
YAML

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: claude-webui-backend
restart: unless-stopped
network_mode: host
volumes:
# Claude CLI binary (read-only from host)
- /home/sumdex/.local/share/claude:/home/node/.local/share/claude:ro
# Separate config for WebUI Claude (NOT Neko's config!)
- ./config/.claude:/home/node/.claude:rw
- ./config/.config/claude:/home/node/.config/claude:rw
# Hosts configuration
- ./config/hosts.json:/app/config/hosts.json:ro
# Project directories for Claude to work in
- /home/sumdex/projects:/projects:rw
- /home/sumdex/docker:/docker:rw
- /opt/stacks:/stacks:rw
environment:
- NODE_ENV=production
- HOST=100.105.142.13
- PORT=3001
- PATH=/home/node/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
- VITE_WS_URL=ws://100.105.142.13:3001
- VITE_API_URL=http://100.105.142.13:3001
container_name: claude-webui-frontend
restart: unless-stopped
ports:
- "100.105.142.13:3000:80"
depends_on:
- backend
networks:
- claude-webui
networks:
claude-webui:
name: claude-webui