24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
services:
|
|
second-screen:
|
|
build: .
|
|
restart: unless-stopped
|
|
environment:
|
|
# Which view to show: weather | server | sky | iss. To switch: edit, commit, push (Coolify deploys on push).
|
|
VIEW: weather
|
|
# Prefer the stable by-id path (see README); /dev/ttyACM1 can change after replug/reboot.
|
|
SCREEN_DEVICE: ${SCREEN_DEVICE:-/dev/serial/by-id/usb-Turing_UsbMonitor_USB35INCHIPSV2-if00}
|
|
SCREEN_ORIENTATION: LANDSCAPE
|
|
SCREEN_BRIGHTNESS: "50"
|
|
TZ: Europe/Prague
|
|
BOARD_TZ: Europe/Prague
|
|
devices:
|
|
- "${SCREEN_DEVICE:-/dev/serial/by-id/usb-Turing_UsbMonitor_USB35INCHIPSV2-if00}:${SCREEN_DEVICE:-/dev/serial/by-id/usb-Turing_UsbMonitor_USB35INCHIPSV2-if00}"
|
|
volumes:
|
|
# Read-only host views for the server stats view.
|
|
- /proc:/host/proc:ro
|
|
- /sys:/host/sys:ro
|
|
# Any file on the host's root filesystem: only used to measure disk usage (statvfs), contents never read.
|
|
- /etc/hostname:/host/root:ro
|
|
# Container list. Read-only does not limit the Docker API: this is full control of Docker (see README).
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|