-
Notifications
You must be signed in to change notification settings - Fork 973
feat(app-api): add HaRP container #7493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com> Signed-off-by: bigcat88 <bigcat88@icloud.com>
szaimen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR!
Looks already pretty good but some comments from my side below :)
| "NET_RAW" | ||
| ], | ||
| "backup_volumes": [ | ||
| "nextcloud_aio_harp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How important are these certs? Cant they simply get recreated if they got missing or is this not possible?
|
|
||
| function handleDockerSocketProxyWarning() { | ||
| if (document.getElementById("docker-socket-proxy").checked) { | ||
| alert('⚠️ Warning! Enabling this container comes with possible Security problems since you are exposing the docker socket and all its privileges to the Nextcloud container. Enable this only if you are sure what you are doing!'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| alert('⚠️ The docker socket proxy container is deprecated. Please use the HaRP (High-availability Reverse Proxy for Nextcloud ExApps) instead!'); | |
| document.getElementById("docker-socket-proxy").checked = false |
| { | ||
| "container_name": "nextcloud-aio-docker-socket-proxy", | ||
| "image_tag": "%AIO_CHANNEL%", | ||
| "display_name": "Docker Socket Proxy", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "display_name": "Docker Socket Proxy (deprecated)", |
| @@ -126,6 +126,20 @@ | |||
| > | |||
| <label for="docker-socket-proxy">Docker Socket Proxy (needed for <a target="_blank" href="https://github.com/cloud-py-api/app_api#nextcloud-appapi">Nextcloud App API</a>)</label> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <label for="docker-socket-proxy">Docker Socket Proxy (needed for <a target="_blank" href="https://github.com/cloud-py-api/app_api#nextcloud-appapi">Nextcloud App API</a>)</label> | |
| <label for="docker-socket-proxy">Docker Socket Proxy (needed for <a target="_blank" href="https://github.com/cloud-py-api/app_api#nextcloud-appapi">Nextcloud App API</a>) ⚠️ The docker socket proxy container is deprecated. Please use the HaRP (High-availability Reverse Proxy for Nextcloud ExApps) instead!</label> |
|
@oleksandr-nc please also increase the version number here: all-in-one/php/templates/containers.twig Line 30 in 9c6bb67
|
| data-initial-state="false" | ||
| {% endif %} | ||
| > | ||
| <label for="harp">HaRP (High-availability Reverse Proxy for <a target="_blank" href="https://github.com/nextcloud/HaRP">Nextcloud ExApps</a>)</label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <label for="harp">HaRP (High-availability Reverse Proxy for <a target="_blank" href="https://github.com/nextcloud/HaRP">Nextcloud ExApps</a>)</label> | |
| <label for="harp">HaRP (High-availability Reverse Proxy for <a target="_blank" href="https://github.com/cloud-py-api/app_api#nextcloud-appapi">Nextcloud ExApps</a>)</label> |
|
There are unfortunately some conflicts now, so this needs a rebase |
Ideally, we should first merge the PR into AppAPI (nextcloud/app_api#768) and then re-test this PR.
I tested this PR without automatic registration, from template; my HaRP was registered
okand TestDeploy worked.