Once the container is running, you must tell Nextcloud how to find it. Navigate to > AppAPI . Click Register Daemon .
:You can deploy HaRP using a standard Docker command. Ensure you publish the necessary ports: Port 8780 : Standard HTTP communication. Port 8782 : FRP tunnel port for ExApps. harp nextcloud install
: Start the FRP client container on the remote machine to establish the secure tunnel. Troubleshooting and Verification Once the container is running, you must tell
docker run -d \ --name appapi-harp \ --network host \ -e HP_SHARED_KEY="your_secure_password" \ -e NC_INSTANCE_URL="https://nextcloud.url" \ -e HP_TRUSTED_PROXY_IPS="172.18.0.0/16,127.0.0.1" \ -v /var/run/docker.sock:/var/run/docker.sock \ ghcr.io/nextcloud/harp:latest Use code with caution. :You can deploy HaRP using a standard Docker command
By using HaRP, ExApps can communicate directly with clients via WebSockets, bypassing the main Nextcloud PHP stack to significantly reduce latency and improve performance for real-time features like AI chats or document indexing. Prerequisites Before beginning the installation, ensure you have:
