Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/euhmeuh/bonny
Ship your Racket web-server like a true pirate!
https://github.com/euhmeuh/bonny
bonny container racket racket-library
Last synced: 23 days ago
JSON representation
Ship your Racket web-server like a true pirate!
- Host: GitHub
- URL: https://github.com/euhmeuh/bonny
- Owner: euhmeuh
- License: gpl-3.0
- Created: 2018-02-26T22:54:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-11T17:04:25.000Z (over 5 years ago)
- Last Synced: 2024-11-18T14:39:33.811Z (3 months ago)
- Topics: bonny, container, racket, racket-library
- Language: Racket
- Size: 81.1 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bonny
Ship your Racket web-server like a true pirate!## Story
Anne Bonny was one of the few women to engage in piracy during the 18th century, golden age of pirates.
She lived a adventurous and risky life on the sea, fighting and plundering ships.
I needed a name for my "web container shipping manager", so, as a tribute, I'll make her the captain of my web-server ship.## Goal
This is an attempt at writing the simplest container management tool ever, using the **Racket web-server** to handle webhooks, **systemd-nspawn** for containers, **machinectl** to check their status, and an optional **nginx** server to reverse-proxy and load-balance requests.
## Usage
`raco pkg install bonny`
`bonny serve` (run the bonny server)
`bonny dashboard` (run the bonny web dashboard)## Production setup
When you're at ease with the way **bonny** works, you can simply setup a systemd unit:
`cp bonny-server/templates/bonny.service /usr/lib/systemd/system/bonny.service`
`systemctl enable bonny`
`systemctl start bonny`