julian 1ea1aa4189
Build & push images / images (push) Successful in 2m45s
CI / check (push) Successful in 39s
fix(deploy): pass the USB printer (usblp) into the host-net server container
The USB ESC/POS printer is the host's /dev/usb/lpN (usblp char device, major 180),
but the container has its own /dev — `docker exec server ls /dev/usb` → "No such
file or directory", so probeUsb's open() ENOENTs and the printer is always offline
regardless of the path set in setup. Containerization isolates host hardware (same
root cause as the network fix); USB needs explicit passthrough:

- volumes: /dev/usb:/dev/usb  → the lpN NODES appear inside the container
- device_cgroup_rules: 'c 180:* rmw'  → permit the usblp char major (180), and the
  `:*` minor wildcard survives lp0/lp1/lp2 renumbering across replug/boot-order.

Binding the /dev/usb DIR (not a single `devices:` node) is what survives renumber.
Merge verified: parking-data ledger volume preserved (lists append), host net intact,
config valid. Booth prereq: `usblp` loaded at boot + printer attached before start,
else /dev/usb is absent.

Claude-Session: https://claude.ai/code/session_01Xcm6ikLgGoCxxHrxtjkk5V
2026-06-27 14:11:51 +02:00
2026-06-18 11:03:45 +02:00
2026-06-14 11:32:21 +02:00
S
Description
No description provided
22 MiB
v0.2.0 Latest
2026-09-07 12:34:33 +00:00
Languages
TypeScript 96.7%
JavaScript 3.1%
HTML 0.2%