Stable/Latest
Staging
docker run --rm -it -p 5001:5001 orrpan/pilight_docker:latest
version: '3.3'
services:
pilight:
container_name: pilight
image: orrpan/pilight_docker:latest
ports:
- '5000-5003:5000-5003'
environment:
- TZ=Europe/Stockholm
volumes:
- '${HOME}/.pilight/:/etc/pilight/'
restart: unless-stopped
privileged: true
#devices: # if you use usb
# - /dev/ttyUSB0:/dev/ttyUSB0
command:
- /bin/sh
- -c
- |
echo "sleep for 2sec"
sleep 2
/usr/local/sbin/pilight-daemon --foreground --config /etc/pilight/config.json