Skip to content

This repository contains the code to build a Portainer stack to host a custom web server in a Docker container. It is intended to run on a Raspberry Pi 3 or 4, and allows for shutting down the hardware from a webpage.

License

Notifications You must be signed in to change notification settings

Simon536/pi-web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Control Interface for Raspberry Pi Server

How to use

This repository is intended to be deployed using Portainer into a Docker environment. This can be done by creating a new Portainer stack.

Note: when making changes to the website content, remember to increment the image tag in docker-compose.yml. Otherwise Portainer will use the cached version of the image.

Tested on Portainer 2.11.0 and Docker 20.10.12

Features

  • Able to shutdown and restart the Pi hardware from a simple web interface
  • Able to cancel a shutdown or restart if it is initiated by accident
  • Display the client IP address

About

This repository contains the code to build a Portainer stack to host a custom web server in a Docker container. It is intended to run on a Raspberry Pi 3 or 4, and allows for shutting down the hardware from a webpage.

Topics

Resources

License

Stars

Watchers

Forks