Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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`