No description
- Go 71.9%
- TypeScript 26.5%
- CSS 1%
- Dockerfile 0.4%
- HTML 0.2%
|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
|---|---|---|
| cmd/server | ||
| internal | ||
| migrations | ||
| web | ||
| .gitignore | ||
| .woodpecker.yml | ||
| config.alerts.example.yaml | ||
| config.docker.example.yaml | ||
| config.example.yaml | ||
| CONFIGURATION.md | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
polystatus
polystatus is a standalone, YAML-configured uptime monitoring service with persistent history (SQLite), an HTTP API, and a 3D “status home” UI.
Quickstart (local)
- Copy the example config:
Copy-Item .\config.example.yaml .\config.yaml
- Run the server (this is a long-running process; leave it running until you press Ctrl+C):
go run .\cmd\server -config .\config.yaml
- Open the UI:
If you want to run the web dev server instead (hot reload UI):
cd web
npm install
npm run dev
The web dev server proxies API calls to the Go server (see web/vite.config.ts).
Quickstart (Docker)
Docker expects the config file mounted at /config.yaml (the container default) and a persistent /data volume for SQLite.
- Copy the Docker-oriented example config:
Copy-Item .\config.docker.example.yaml .\config.yaml
- Start the container:
docker compose up -d
Docker compose variants
- Dev (build locally):
docker compose -f .\docker-compose.dev.yml up --build
- Production (pull from Docker Hub):
- Set the image in
docker-compose.ymlto your Docker Hub repo/tag if needed
- Set the image in
docker compose up -d
Configuration
- Full reference (all options, defaults, examples): CONFIGURATION.md