Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tchoutri/control-plane
My own personal Jesus^WControl Plane
https://github.com/tchoutri/control-plane
haskell haskell-application scotty
Last synced: 5 days ago
JSON representation
My own personal Jesus^WControl Plane
- Host: GitHub
- URL: https://github.com/tchoutri/control-plane
- Owner: tchoutri
- License: other
- Created: 2021-01-11T18:24:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-22T13:20:57.000Z (almost 4 years ago)
- Last Synced: 2024-11-05T18:54:28.956Z (about 2 months ago)
- Topics: haskell, haskell-application, scotty
- Language: Haskell
- Homepage:
- Size: 477 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Control Plane [![CI-badge][CI-badge]][CI-url] ![simple-haskell][simple-haskell]
## Description
This is the repository for the system that I use as my own control plane. It serves as a monitoring system, job queues control panel,
notifications endpoint for webhooks, etc.## Build
The backend is implemented in Haskell. You will need the Nix package manager to handle external dependencies.
To build the backend without optimisations, run:
```bash
$ cabal build
```or, to enable optimisations
```bash
$ cabal build -O2
```## Run
You will need a PostgreSQL 12 database or higher.
Please configure the environment variables in the appropriate source file in `./deployment`
and source the file in your environment.To launch the server, run
```bash
$ cabal run exe:control-plane-server start
```To launch the job runner, run
```bash
$ cabal run exe:control-plane-jobs
```You can start both of them in a tmux shell by running `start-tmux.sh`
While the former and the latter do not need to reside on the same machine, they both need access to the database server.
## Features
### Notifications
### Website monitoring
* Cards with the domain name, port, current status (reachable / unreacheable since \)
[CI-url]: https://github.com/tchoutri/control-plane/actions
[CI-badge]: https://img.shields.io/github/workflow/status/tchoutri/control-plane/CI?style=flat-square
[simple-haskell]: https://img.shields.io/badge/Simple-Haskell-purple?style=flat-square