Skip to content
Ship your Racket web-server like a true pirate!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bonny-dashboard
bonny-lib
bonny-server
bonny-test
bonny
.gitignore
LICENSE
README.md

README.md

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

You can’t perform that action at this time.