Background service and dashboard
Run in the background
Section titled “Run in the background”Install a service that runs any dockhive command at login. Everything after -- is the command it runs:
dockhive service install -- expose 3000 --name my-appdockhive service uninstall- macOS: a launchd agent; logs in
~/Library/Application Support/dockhive/service.log. - Linux: a systemd user unit; follow logs with
journalctl --user -u dockhive-tunnel -f. Runloginctl enable-linger $USERto keep it running after you log out. - Windows: a scheduled task that starts at logon.
Sign in first: the service uses your stored sign-in (or put DOCKHIVE_TOKEN in the unit’s environment on servers).
Local dashboard
Section titled “Local dashboard”While dockhive expose runs, open http://localhost:4040 to see:
- who you’re signed in as,
- your tunnels with their public URLs, with copy buttons,
- a live log of requests: method, path, status, duration and size (bodies are never recorded),
- data in and out.
The dashboard only answers on your own computer. Change its port with --dashboard-port or turn it off with --no-dashboard.
Your tunnels also appear in the console under Tunnels.