Files
tyto/docker-compose.yaml
vikingowl 38a598baaa Initial commit: System monitor web application
Full-stack system monitoring dashboard for Linux with AMD GPU support.

Features:
- Real-time metrics via Server-Sent Events (SSE)
- CPU usage per core with frequency and load averages
- Memory and swap utilization
- Disk usage and I/O activity
- Network interfaces with traffic stats
- Process list sorted by CPU or memory
- Temperature sensors (CPU, GPU, NVMe, motherboard)
- AMD GPU monitoring (utilization, VRAM, temp, clocks, power, fan)
- Configurable refresh rate (1-60 seconds)

Stack:
- Backend: Go + Gin, reading from /proc and /sys
- Frontend: SvelteKit 5 + Tailwind CSS
- Deployment: Docker Compose with host volume mounts

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

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

37 lines
714 B
YAML

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: sysmon-backend
restart: unless-stopped
environment:
- PORT=8080
- PROC_PATH=/host/proc
- SYS_PATH=/host/sys
- MTAB_PATH=/host/etc/mtab
- DEFAULT_REFRESH_INTERVAL=5s
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /etc/mtab:/host/etc/mtab:ro
networks:
- sysmon
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: sysmon-frontend
restart: unless-stopped
ports:
- "9847:80"
depends_on:
- backend
networks:
- sysmon
networks:
sysmon:
driver: bridge