Mobile-first web panel for Husarion ROS 2 robots: Caddy webserver + persistence image.
10K+
The browser-facing half of the Husarion Cockpit: a mobile-first web panel for driving Husarion ROS 2 robots (Panther, Lynx, ROSbot, custom UGVs) over your local Wi-Fi from any phone, tablet or laptop.
Releases ship one image, husarion/webui:webserver-X.Y.Z: Caddy plus the persistence server (auth, the app, the Manage tab, the /api proxy). The older bridge-* tags you may see on the Tags tab are the legacy foxglove-bridge and ROS service proxy image, which is no longer released.
Transport note. The browser↔ROS transport is
husarion/rosbridge, an in-house Rust rosbridge v2 server that replaced foxglove-bridge. Thewebserver-X.Y.Zimage from the cutover on (1.18.x+) expectshusarion/rosbridgeon the/wsroute, so pair it with that image, not abridge-*tag.
Multi-arch: linux/amd64 + linux/arm64.
husarion/webui:webserver-X.Y.Z: a pinned release (recommended; production robots pin it by digest)husarion/webui:webserver: tracks the most recent releaseEach X.Y.Z is one snapshot validated on Husarion hardware. The Tags tab above lists every version.
services:
webserver:
image: husarion/webui:webserver-X.Y.Z # pin by digest in production
network_mode: host
environment:
- WEBSERVER_PORT=80
- WEBSERVER_HTTPS_PORT=443 # HTTPS via Caddy internal CA; needed for camera audio
- ROSBRIDGE_PORT=8866 # Caddy /ws → husarion_rosbridge
- PERSISTENCE_PORT=9091
- ROBOT_MODEL=lynx # picks /app/profiles/settings-<model>.yaml
volumes:
- ./profiles:/app/profiles:ro # your robot profiles; the image ships none
- /var/lib/husarion-webui:/var/lib/husarion-webui # auth + working-copy YAML
- /run/husarion-agent:/run/husarion-agent:ro # if husarion-agent is on the host
restart: unless-stopped
# Browser↔ROS transport; replaced the legacy husarion/webui:bridge-* (foxglove) image.
husarion-rosbridge:
image: husarion/rosbridge:<version> # pin by digest in production
network_mode: host
ipc: host
env_file:
- /home/husarion/config/common/.env
environment:
- ROSBRIDGE_BIND=127.0.0.1:8866 # loopback: 0.0.0.0 would bypass Caddy's auth on the LAN
- ROSBRIDGE_HEALTH_BIND=127.0.0.1:8869 # /healthz /readyz /metrics
restart: unless-stopped
Open http://<robot-ip> on a phone on the same LAN and sign in with the robot's password (default husarion for dev). For camera microphone audio, open the HTTPS URL (https://<robot-ip>) and accept the self-signed certificate warning once; Caddy's internal CA mints the certificate on demand. Browsers allow AudioWorklet only in secure contexts. Everything else works on either origin.
husarion-agent, where you edit the ROS env (namespace, domain ID, RMW), the DDS profile and other manifest-defined fields without SSHing into the robotROBOT_MODEL=panther|lynx|rosbot-xl|…) that sets topic and service paths, gear ceilings, kinematics and gamepad bindings| Service | Var | Default | Notes |
|---|---|---|---|
| webserver | WEBSERVER_PORT | 80 | Caddy HTTP listen port |
| webserver | WEBSERVER_HTTPS_PORT | 443 | Caddy HTTPS listen port (internal CA, the origin camera audio needs) |
| webserver | ROSBRIDGE_PORT | 8866 | husarion_rosbridge port (Caddy /ws target) |
| webserver | PERSISTENCE_PORT | 9091 | persistence-server port (proxied) |
| webserver | ROBOT_MODEL | unset | Picks /app/profiles/settings-<model>.yaml, which you mount. Unset, the entrypoint reads SETTINGS_YAML or /app/settings.yaml (the image ships neither). |
| webserver | HUSARION_AGENT_SOCKET | /run/husarion-agent/agent.sock | Path to the agent's Unix socket inside the container |
| webserver | HUSARION_AGENT_MANAGE_TTL_SEC | 300 | Step-up cookie TTL for /api/agent/* |
| husarion_rosbridge | ROSBRIDGE_BIND / ROSBRIDGE_HEALTH_BIND | set to 127.0.0.1:8866 / 127.0.0.1:8869 | WebSocket bind + health side-server (/healthz / /readyz / /metrics); keep them on loopback |
Per-robot defaults (gears, gamepad bindings, topic overrides, camera config) live in the profiles/settings-<model>.yaml your deployment mounts. Customers adjust them in the app's Settings flow, and the persistence server writes the result to a working-copy YAML in /var/lib/husarion-webui/.
Built and maintained by Husarion: robotics research and commercial UGV platforms.
Production robots get the Cockpit from their robot OS image, which pins this image by digest. The public release index at https://github.com/husarion/husarion-cockpit-releases carries the husarion-agent binaries.
License: proprietary. © Husarion S.A., all rights reserved.
Content type
Image
Digest
sha256:77043ef85…
Size
42.8 MB
Last updated
about 17 hours ago
docker pull husarion/webui:webserver