From 54985095fe5ee01ba26176c20ae41e66af920eda Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 07:57:33 +0000 Subject: [PATCH 1/2] Initial plan From 3b4225baf9a22545c1691d621ae8feeeae674cf4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 07:59:07 +0000 Subject: [PATCH 2/2] fix: correct HaRP diagram, mkdir brace expansion, proxy IP comment, add docker-engine-port note Agent-Logs-Url: https://github.com/nextcloud/documentation/sessions/f5612a35-41f3-4e7c-8a09-7e43a1ea0bc5 Co-authored-by: nextcloud-command <88102737+nextcloud-command@users.noreply.github.com> --- .../DeployConfigurations.rst | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/admin_manual/exapps_management/DeployConfigurations.rst b/admin_manual/exapps_management/DeployConfigurations.rst index 14601d0587d..bf7b45f3063 100644 --- a/admin_manual/exapps_management/DeployConfigurations.rst +++ b/admin_manual/exapps_management/DeployConfigurations.rst @@ -202,14 +202,14 @@ This is the related infrastructure } state Host2 { - [*] --> DockerSocketProxy : by port + [*] --> HaRP : by port Daemon --> Containers state Containers { - [*] --> DockerSocketProxy : /var/run/docker.sock - DockerSocketProxy --> ExApp1 - DockerSocketProxy --> ExApp2 - DockerSocketProxy --> ExApp3 + [*] --> HaRP : /var/run/docker.sock + HaRP --> ExApp1 + HaRP --> ExApp2 + HaRP --> ExApp3 } } @@ -233,7 +233,7 @@ Please customize for your distribution. .. code-block:: bash - mkdir -p /some/path/{certs,} + mkdir -p /some/path/certs 1.2. Open ports @@ -250,7 +250,7 @@ Please customize for your distribution. docker run \ -e HP_SHARED_KEY="some_very_secure_password" \ -e NC_INSTANCE_URL="https://cloud.acme.com" \ - -e HP_TRUSTED_PROXY_IPS="192.168.0.0/24" \ + -e HP_TRUSTED_PROXY_IPS="192.168.0.0/24" \ # Replace with your actual trusted proxy subnet (Host3's IP or subnet) -v /var/run/docker.sock:/var/run/docker.sock \ -v /some/path/certs:/certs \ -p 8780:8780 \ @@ -290,6 +290,12 @@ Finally, test the whole setup with “Test deploy” in the 3-dots menu of the d 4. Additional tests from the network of your hosts +.. note:: + + The ``docker-engine-port`` header tells HaRP which internal virtual port to route to the Docker engine. + When HaRP has the Docker socket mounted directly (as in this setup), it uses ``24000`` as the default + virtual port for that local socket. This value does not require any additional firewall or port configuration. + .. code-block:: bash curl -fsS \