HUB
Sign inSign up

cblomart/rpi-monkey

By cblomart

•Updated almost 11 years ago

lightweight docker image of monkey server for raspberry pi

Image
0

1.4K

cblomart/rpi-monkey repository overview

This image is build form a staticaly compiled monkey server via dockerize. Thus reducing the size of the image to 3MB, including default website.

Many thanks to hypriots for its work and posts... it obviously inspired most of this work.

The sources of this image can be found on github: https://github.com/cblomart/rpi-monkey.git⁠

Compose

Simply use "make"...But

To be able to compile haproxy staticaly a few dependencies must be met. So you can first:

make deps

An then you can build the image This will download monkey sources and compiles... If you run on a pi1 this might be the right time to go to the restaurant... The monkey binary will be installed in /usr/local/bin.

make

Test the image

make test

And push it to the docker hub

make push

The erase the sources and builds

make clean

Usage

docker run -d -p 80:80 cblomart/rpi-monkey

Customizing Haproxy

docker run -d -p 80:80 -v :/etc/monkey -v :/var/www cblomart/rpi-monkey

where:

is an absolute path of a directory containing the monkey config folder.

is an absolute path of a directory containing the web site.

Tag summary
Recent tags
Content type
Image
Digest
Size
1.5 MB
Last updated
almost 11 years ago
docker pull cblomart/rpi-monkey:latest