Note
**This repository has been forked from [jokobsk](https://hub.docker.com/r/jokobsk/pi.alert)**
Please first install docker on the Pi Zero.
Create a docker-compose.yml file with the followings:
version: "3"
services:
pialert:
container_name: pialert
image: "kenzok/pialert:latest"
network_mode: "host"
privileged: true
restart: unless-stopped
volumes:
- ./config:/home/pi/pialert/config
- ./db:/home/pi/pialert/db
# (optional) useful for debugging if you have issues setting up the container
- ./logs:/home/pi/pialert/front/log
environment:
- TZ=Europe/London
- HOST_USER_ID=1000
- HOST_USER_GID=1000
- PORT=20211
Important
Keep in mind, it takes a long time for the poor old Pi Zero to pull and start the container.
Run the container after with:
sudo docker compose up -d
Content type
Image
Digest
sha256:238d68aee…
Size
273.4 MB
Last updated
over 2 years ago
docker pull kenzok/pialert