81
Web app to edit and print photos on HPRT CP4x Wi‑Fi photo printers (CP4100 and family), straight from the browser, on desktop or mobile, in English or Spanish.
hprt-open-dashboard needs the bridge hprt-open-bridge
to reach the printer: browsers cannot open the raw TCP/UDP sockets the printer uses. The image
serves the app and forwards /api to the bridge, so the browser only talks to one address.
Browser ──► hprt-open-dashboard (this image) ── /api ──► hprt-open-bridge ──► printer
.log.0.0.0.0:8787).docker run -d --name hprt-open-dashboard -p 8080:80 \
-e BRIDGE_URL=http://host.docker.internal:8787 \
--add-host host.docker.internal:host-gateway \
andresramirez991228/hprt-open-dashboard
services:
hprt-open-dashboard:
image: andresramirez991228/hprt-open-dashboard
ports:
- "8080:80"
environment:
BRIDGE_URL: http://host.docker.internal:8787
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
bridge:
image: andresramirez991228/hprt-open-bridge
network_mode: host # UDP discovery and the printer on the LAN need the host network
environment:
BRIDGE_APP_REST_ADDR: 0.0.0.0:8787
restart: unless-stopped
| Variable | Default | Description |
|---|---|---|
BRIDGE_URL | http://host.docker.internal:8787 | URL of the bridge as seen from the container, without a trailing / |
The container listens on port 80; publish it on any port of the host (-p 8080:80).
localhost or HTTPS. From another device of the network over http://IP:8080 everything works except the Bluetooth section; put an HTTPS proxy in front if you need it.linux/amd64 and linux/arm64 (Raspberry Pi included).Content type
Image
Digest
sha256:40c225b8d…
Size
24.9 MB
Last updated
17 days ago
docker pull andresramirez991228/hprt-open-dashboard:v1.0.0