Initial implementation: Bordanlage boat onboard system
Complete multiroom audio + navigation dashboard: - Docker stack: SignalK, Snapcast (4 zones), librespot, shairport-sync, Mopidy, Jellyfin, Portainer - React 18 + Vite dashboard with nautical dark theme - Full mock system (SignalK NMEA simulation, Snapcast zones, Mopidy player) - Real API clients for all services with reconnect logic - SVG instruments: Compass, WindRose, Gauge, DepthSounder, SpeedLog - Pages: Overview, Navigation, Audio (zones/radio/library), Systems - Dev mode runs fully without hardware (make dev) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
15
bordanlage/dashboard/vite.config.js
Normal file
15
bordanlage/dashboard/vite.config.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 8080,
|
||||
proxy: {
|
||||
'/signalk': { target: 'http://localhost:3000', ws: true },
|
||||
'/snapcast-ws': { target: 'http://localhost:1780', ws: true },
|
||||
'/mopidy': { target: 'http://localhost:6680', ws: true },
|
||||
'/jellyfin': { target: 'http://localhost:8096', changeOrigin: true },
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user