Skip to content
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

docker-socket-proxy: allowed read/write/exec of files for AppAPI for ExApps containers #5622

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

oleksandr-nc
Copy link
Contributor

Required for nextcloud/app_api#448 for the upcoming Nextcloud 31 release.
Changes are the same as here: nextcloud/docker-socket-proxy#41

In brief:

  • PUT containers/%s/archive allows AppAPI to write files to the ExApp container.
  • POST containers/%s/update will allows to change ContainerRestart policy in future. Docker API
  • POST containers/%s/exec is used to create execution object.
  • POST exec/%s allows to start execution object.

First three endpoints is limited to with usual secure mask nc_app_[a-zA-Z0-9_.-]+ to allow access only to ExApps.

@oleksandr-nc oleksandr-nc added the 3. to review Waiting for reviews label Nov 20, 2024
@oleksandr-nc oleksandr-nc requested a review from szaimen November 20, 2024 11:31
@szaimen szaimen added the enhancement New feature or request label Nov 20, 2024
@szaimen szaimen added this to the next milestone Nov 20, 2024
@szaimen szaimen changed the title allowed read/write/exec of files for AppAPI for ExApps containers docker-socket-proxy: allowed read/write/exec of files for AppAPI for ExApps containers Nov 20, 2024
Copy link
Collaborator

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :)

@szaimen szaimen merged commit 1c85037 into main Nov 25, 2024
3 checks passed
@szaimen szaimen deleted the feat/docker-socket-proxy/rules-update branch November 25, 2024 09:26
@szaimen
Copy link
Collaborator

szaimen commented Dec 9, 2024

This is now released with v10.1.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants