Files
second-screen/docker-compose.yml
T
rickzkmandClaude Opus 5.5 517f0868db Bigger next-pass panel with brightness on the ISS view, deploy on push
The map leaves out the polar caps (75° N to 60° S at the same scale) so the
next visible pass gets a 100 px panel: the time in 48 px type, the date, and
height, direction, estimated magnitude and clouds in 24 px. The magnitude is
the brightest moment of the pass by Matson's formula (standard magnitude -1.8).

A Gitea webhook now makes Coolify deploy every push to main, and Coolify
4.5.3 re-reads docker-compose.yml on each deploy, so no buttons are needed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 22:48:19 +01:00

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: iss
# 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