You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,9 +270,10 @@ You may want to run the FRP client-server connections through the same reverse p
270
270
>
271
271
> Adding `HaRP` support is fully compatible with the existing `DSP` system, so you won’t need to maintain two separate release types of your ExApp.
272
272
273
-
1. Copy the `start.sh` script from the `exapps_dev` folder of this repository and set it as the entry point in your ExApp’s `Dockerfile`.
274
-
2. After copying `start.sh`, edit its last line so that it runs your ExApp’s main binary (or script).
275
-
3. Add the following lines to your `Dockerfile` to automatically include the `FRP client` binaries in your Docker image:
273
+
1. Copy the `start.sh` script from the `exapps_dev` folder of the HaRP repository into your Docker image (e.g., using a `COPY` instruction).
274
+
2. In your ExApp's `Dockerfile`, set the `ENTRYPOINT` to execute `start.sh` followed by the **command and arguments required to launch** your actual application. The `start.sh` script will perform launch of `FRP` client if needed and then use `exec` to run the command you provide as arguments.
275
+
3. Ensure the `curl` command-line utility is installed in your ExApp's Docker image, as it's needed by the following script to download the FRP client.
276
+
4. Add the following lines to your `Dockerfile` to automatically include the `FRP client` binaries in your Docker image:
276
277
277
278
```bash
278
279
# Download and install FRP client
@@ -294,7 +295,7 @@ You may want to run the FRP client-server connections through the same reverse p
294
295
295
296
> **Note:** For `Alpine 3.21` Linux you can just install `FRP` from repo using `apk add frp` command.
296
297
297
-
That's it!
298
+
That's it! Your ExApp is now adapted to Nextcloud 32.
298
299
299
300
## Nextcloud 32: Migrating Existing ExApps from DSP to HaRP
0 commit comments