# Pi Status

Zeigt den aktuellen Status aller Mitai-Container und Logs auf dem Raspberry Pi.

## Container Status
```bash
ssh pi "docker ps --filter name=mitai --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}'"
```

## Letzte Backend-Logs (Prod)
```bash
ssh pi "docker logs mitai-api --tail 30"
```

## Letzte Backend-Logs (Dev)
```bash
ssh pi "docker logs dev-mitai-api --tail 30"
```

## API Health Check
```bash
ssh pi "curl -sf http://localhost:8002/api/auth/status && echo '✓ PROD OK' || echo '✗ PROD FEHLER'"
ssh pi "curl -sf http://localhost:8099/api/auth/status && echo '✓ DEV OK' || echo '✗ DEV FEHLER'"
```

## Datenbank Status
```bash
ssh pi "docker exec mitai-db-prod pg_isready -U mitai_prod && echo '✓ DB PROD OK'"
ssh pi "docker exec dev-mitai-postgres pg_isready -U mitai_dev && echo '✓ DB DEV OK'"
```

## Disk Space
```bash
ssh pi "df -h /home/lars/docker"
```

## Führe alle Checks aus und zeige Zusammenfassung
