Public Repository

Last pushed: 2 years ago
Short Description
lightweight docker image of monkey server for raspberry pi
Full Description

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 <config-dir>:/etc/monkey -v <data-dir>:/var/www cblomart/rpi-monkey

where:

<config-dir> is an absolute path of a directory containing the monkey config folder.

<data-dir> is an absolute path of a directory containing the web site.

Docker Pull Command
Owner
cblomart