feat: Docker packaging and README
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
0a395fa735
commit
ae8c17d8d5
3 files changed
+132
No files matched your search
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
second-screen:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# Which view to show: weather | server. To switch: edit, commit, push, press Deploy in Coolify.
|
||||
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
|
||||
Reference in new issue
Block a user