This packages pilight in a Docker image to be run as a container. The repository is a fork from monsterwels/pilight with a few tweaks. The Dockerfile basically uses the recommended install procedure from the pilight documentation. The images are built and pushed to Docker hub every night.
There are the following tags:
Tag | built from | Comments |
---|---|---|
latest or stable |
stable package repository |
This bundles the latest release: currently v8.1.5 from 2 Aug 2019. |
nightly |
nightly package repository |
This bundles the latest code changes in the current maintenance branch: staging . |
staging or dev |
staging source code |
This builds the current maintenance branch from source. |
master |
master source code |
This builds the current release branch from source. |
If you want to run the image as a container, the following docker compose file might be a good starting point:
version: '2.4'
services:
pilight:
image: akloeckner/pilight:nightly
init: true # use init process, because pilight leaves behind pid file when not exited cleanly
volumes:
- /path/to/your/pilight/config:/etc/pilight # be sure to change the host's path to your config here
ports:
- 5000:5000 # usual daemon port
- 5001:5001 # usual HTTP port
- 5002:5002 # usual HTTPS port
devices:
- /dev/ttyUSB0:/dev/ttyUSB0 # if you have a 433nano device
restart: unless-stopped # if you want to auto-restart the container