Sign inSign up

cjimti/iotweb

By cjimti

Updated over 8 years ago

A very small web server written in Go for static sites served on devices such as the Raspberry Pi.

Image
1

8.3K

cjimti/iotweb repository overview

GoDoc Go Report Card Docker Image Size Docker Container Layers Docker Container Pulls

IoT Web Server

A very small web server written in Go for static sites served on devices such as the Raspberry Pi. Uses bunyan logging.

Env

Uses environment variables for configuration. The following are default values, override where needed.

  • export IOTWEB_BASEPATH=/
  • export IOTWEB_STATICPATH=www
  • export IOTWEB_PORT=8080
  • export IOTWEB_FSAPIPATH=yes
  • export IOTWEB_FSAPIPATH=fsapi/

Try

docker run -it --rm -p 8080:8080 cjimti/iotweb:1.1.1

for arm base devices use:

docker run -it --rm -p 8080:8080 cjimti/iotweb:armhf-1.1.1

Source: https://github.com/cjimti/iotweb

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

over 8 years ago

docker pull cjimti/iotweb:armhf-1.1.1