mirror of
https://github.com/aziis98/statuspage.git
synced 2026-10-06 22:55:21 +00:00
Go backend probes machines over ICMP/TCP, runs a configurable script over SSH for checks and numeric metrics, and keeps history in SQLite. Preact + Vite frontend shows machine groups, per-machine metric plots, and cross-machine metric aggregates. - server/: status, history, metrics, aggregate, refresh APIs - src/: Preact + Vite frontend - Single YAML config; documented example in example.config.yaml - SQLite data stored under data.volume/ (bind-mounted in Docker) - Multi-stage alpine Dockerfile with BuildKit cache mounts - LICENSE: AGPL-3.0
12 lines
210 B
TypeScript
12 lines
210 B
TypeScript
import { defineConfig } from 'vite'
|
|
import preact from '@preact/preset-vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [preact()],
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:5000',
|
|
},
|
|
},
|
|
})
|