canary
canary
A very simple webserver which returns system statistics, to act as a "canary in the coal mine".
Installation
$ crystal build --release --progress src/canary.cr
Usage
$ ./canary
This will start the service on 0.0.0.0:80
.
Development
$ docker build -t canary --file Dockerfile .
$ docker run --rm -ti -p 80:80 canary
In this example, canary
is the docker image name. Feel free to change this.
Contributing
- Fork it (https://github.com/Green-Edge/canary/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request (https://github.com/Green-Edge/canary/pulls)
Contributors
- Phillip Oldham - creator (on behalf of Green Edge)
Repository
canary
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- about 3 years ago
- August 25, 2021
License
Links
Synced at
Sun, 24 Nov 2024 14:43:00 GMT
Languages