A simple container showing temperature, CPU utilisation and disk status of a Raspberry Pi
1.3K
A very simple docker container for showing the temperature, CPU utilisation, memory and disk status of a Raspberry Pi requiring no prerequisites

To install and run the nerwander/pimon Flask web app from Docker Hub, follow these steps:
To pull the image from Docker Hub, open a terminal and run the following command:
docker pull nerwander/pimon:latest
Volumes must be added for the disk status to work. You should mount any directories you want to check the disk usage for. Set the HOSTNAME environment variable to specify the hostname of your Raspberry Pi (or the system where the app is running).
docker run -d -p 5000:5000 \
-e HOSTNAME=<your_hostname> \
-v /path/to/volume1:/volume1 \
-v /path/to/volume2:/volume2 \
nerwander/pimon:latest
If you prefer to deploy the application using Docker Compose, follow these steps:
Create a docker-compose.yml file in your project directory with the following content:
services:
pimon:
image: nerwander/pimon:latest
ports:
- "5000:5000"
environment:
- HOSTNAME=<your_hostname>
volumes:
- /path/to/volume1:/volume1
- /path/to/volume2:/volume2
restart: unless-stopped
Replace:
Run the following command to start the application using Docker Compose:
docker-compose up -d
This will start the Flask app and bind it to port 5000. You can access it at http://localhost:5000. Stop the Application
docker-compose down
If you prefer to use Portainer for managing Docker containers via a web interface, follow these steps: Prerequisites:
Steps to Deploy in Portainer:
Login to Portainer: Open your browser and go to http://localhost:9000 (or the IP address and port of the machine where Portainer is running).
Create a New Stack:
Add the Docker Compose Configuration:
services:
pimon:
image: nerwander/pimon:latest
ports:
- "5000:5000"
environment:
- HOSTNAME=<your_hostname>
volumes:
- /path/to/volume1:/volume1
- /path/to/volume2:/volume2
restart: unless-stopped
Replace:
Deploy the Stack:
Once deployed, you can view the logs and manage the container directly from the Portainer interface.
Content type
Image
Digest
sha256:c6da7d02b…
Size
132.2 MB
Last updated
almost 2 years ago
docker pull nerwander/pimon