A dockerfile with serdisplib and lcd4linux for use with various LCD-displays
4.3K
A dockerfile containing lcd4linux and serdisplib for use with various LCD-displays.
https://github.com/kaergel/docker-lcd4linux
$ lsusb |grep 060c:04eb
Bus 003 Device 006: ID 060c:04eb EEH Datalink GmbH
$ vi docker-compose.yml
version: '3'
services:
driver:
image: kaergel/lcd4linux
volumes:
- ./lcd4linux.conf:/lcd4linux.conf
- ./get_measuring_value.py:/get_measuring_value.py
- /etc/hostname:/etc/sysname
restart: always
environment:
- PYTHONPACKAGES="py-cpuinfo"
devices:
- "/dev/bus/usb/003/006:/dev/bus/usb/003/006"
$ vi lcd4linux.conf
...
Display SerDispLib {
Driver 'serdisplib'
Port 'USB:060C/04EB'
Model 'ALPHACOOL'
Font '6x8'
Backlight '1'
Rotate '0'
Options ''
}
...
# docker-compose up -dContent type
Image
Digest
Size
461.1 MB
Last updated
over 8 years ago
docker pull kaergel/docker-lcd4linux