13 lines
409 B
YAML
13 lines
409 B
YAML
services:
|
|
screen:
|
|
build: .
|
|
restart: unless-stopped
|
|
environment:
|
|
# Prefer the stable by-id path (see README); /dev/ttyACM0 can change after replug/reboot.
|
|
SCREEN_DEVICE: ${SCREEN_DEVICE:-/dev/ttyACM0}
|
|
SCREEN_ORIENTATION: REVERSE_LANDSCAPE
|
|
SCREEN_BRIGHTNESS: "50"
|
|
TZ: Europe/Prague
|
|
devices:
|
|
- "${SCREEN_DEVICE:-/dev/ttyACM0}:${SCREEN_DEVICE:-/dev/ttyACM0}"
|