- Dashboard Overview with real-time status display - Live Log Viewer (scrollable, filterable) - Config Editor with JSON syntax highlighting - Model Switcher for provider management - Provider Manager for API key configuration - Quick Actions for common tasks - API Routes: status, logs, config, actions, models, providers Tech Stack: - Next.js 14 (App Router) - TypeScript - Tailwind CSS - shadcn/ui components - CodeMirror for JSON editing - Docker support with docker-compose
30 lines
685 B
YAML
30 lines
685 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
openclaw-dashboard:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: openclaw-dashboard
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
# Persist SQLite database
|
|
- ./data:/app/data
|
|
# Mount OpenClaw config (read-only)
|
|
- /home/ai/.openclaw:/home/ai/.openclaw:ro
|
|
# Mount socket for openclaw CLI access
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3000
|
|
network_mode: host
|
|
# For Tailscale, comment out network_mode: host and use:
|
|
# networks:
|
|
# - tailscale
|
|
|
|
networks:
|
|
tailscale:
|
|
external: true
|