This was built using flows from TiltPi.
docker run -d \
--name=TiltPi \
--net=host \
--cap-add=NET_ADMIN \
--device=/dev/bus/usb/001/011 \
-e TZ="America/Los_Angeles" \
-e PORT=1881 \
-v tilt-data:/data \
davismariotti/tiltpi-docker
--device
is only necessary if using a Bluetooth USB dongle.
TZ
can be set to any identifier found here.
PORT
is optional, useful if another instance of Node-Red is running
version: "2"
services:
tiltpi:
image: davismariotti/tiltpi-docker
container_name: TiltPi
network_mode: host
cap_add:
- NET_ADMIN
devices:
- /dev/bus/usb/001/011
volumes:
- tilt-data:/data
environment:
TZ: "America/Los_Angeles"
PORT: 1881 # Optional