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

adopt netxcloud.containerport in FPM deployment, allow rootless nginx #440

Closed
wants to merge 2 commits into from

Conversation

poggenpower
Copy link
Contributor

Pull Request

Description of the change

is netxcloud.containerport is set, it will also configure the port for nginx. This allows nginx running in a rootless container e.g. by using their official nginxinc/nginx-unprivileged image. pid is written to /tmp for that reason.
Some enhanced configs parameter for service.

Benefits

rootless nginx conaiiner.

Possible drawbacks

the nginx port will switch to netxcloud.containerport in FPM installations, but this should be

  1. very rare, because netxcloud.containerport should not be changed
  2. even if changed the service will automatically connect to the changed port.

Applicable issues

N/A

Additional information

Checklist

  • DCO has been signed off on the commit.
  • Chart version bumped in Chart.yaml according to semver.
  • [x ] (optional) Variables are documented in the README.md

@poggenpower poggenpower changed the title adopt netxcloud.containerport in FMP deplyemnt, allow rootless nginx adopt netxcloud.containerport in FPM deployment, allow rootless nginx Sep 3, 2023
charts/nextcloud/README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@jessebot jessebot left a comment

Choose a reason for hiding this comment

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

overall seems like a good change, but have a few comments to address

@jessebot jessebot self-requested a review September 5, 2023 08:34
@jessebot jessebot dismissed their stale review September 5, 2023 08:35

all changes requested were done, but don't want to approve till workflows have run

@jessebot
Copy link
Collaborator

jessebot commented Sep 5, 2023

@poggenpower sorry, it says there's a conflict even though there's not. Can you fix the conflict? I don't want to update your main branch unless you're ok with that.

is netxcloud.containerport is set, it will also configure the port for
nginx. This allows nginx running in a rootless container e.g. by using
their official `nginxinc/nginx-unprivileged` image.
pid is written to /tmp for that reason.
Some enhanced configs parameter for service.

Signed-off-by: poggenpower <[email protected]>
Signed-off-by: poggenpower <[email protected]>
@poggenpower
Copy link
Contributor Author

@jessebot wasn't able to resolve this too, I have created a new PR #444 to workaround.

@poggenpower poggenpower closed this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants