Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jc21
Copy link
Member

@jc21 jc21 commented Mar 21, 2023

Adds support to run processes as a user/group, defined with PUID and PGID environment variables

  • Detects if image is run with a user in docker command and fails if so
  • Adds s6 prepare scripts for adding a 'npmuser'
  • Split up and refactor the s6 prepare scripts
  • Runs nginx and backend node as 'npmuser'
  • Changes ownership of files required at startup

Refactor configuration

  • No longer use config npm package
  • Prefer config from env vars, though still has support for config file
  • No longer writes a config file for database config
  • Writes keys to a new file in /data folder
  • Removes a lot of cruft and improves config understanding

jc21 added 14 commits March 20, 2023 16:56
with PUID and PGID environment variables

- Detects if image is run with a user in docker command and fails if so
- Adds s6 prepare scripts for adding a 'npmuser'
- Split up and refactor the s6 prepare scripts
- Runs nginx and backend node as 'npmuser'
- Changes ownership of files required at startup
- No longer use config npm package
- Prefer config from env vars, though still has support for config file
- No longer writes a config file for database config
- Writes keys to a new file in /data folder
- Removes a lot of cruft and improves config understanding
@nginxproxymanagerci
Copy link

Docker Image for build 6 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-2721

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@jc21 jc21 merged commit 065c2da into develop Mar 26, 2023
@jc21 jc21 deleted the docker-user-group branch October 11, 2024 04:26
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.

1 participant