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: Expand supported user and group ID ranges #3719

Closed
lastzero opened this issue Sep 12, 2023 · 0 comments
Closed

Docker: Expand supported user and group ID ranges #3719

lastzero opened this issue Sep 12, 2023 · 0 comments
Assignees
Labels
docker Docker Images, Build Scripts, Config & Deployment Examples enhancement Optimization, improvement or maintenance task released Available in the stable release video Video Formats, Transcoding, FFmpeg, Streaming & Co

Comments

@lastzero
Copy link
Member

As an admin who self-hosts PhotoPrism on a server that uses extended user ID ranges for applications, I would like PhotoPrism to better support user IDs above 1200 so that I don't have to change my default settings or make other adjustments.

This adds preconfigured accounts to our Docker images for the user ID ranges 1201-1250 and 2000-2100. They are members of the photoprism, www-data, video, davfs2, renderd, render, ssl-cert, and videodriver groups to avoid permission issues with hardware transcoding or other hardware-accelerated operations that require access to the video device.

Note that while dynamic account creation is generally possible as an alternative, it requires that you start the container as root, which not all of our users can do.

Related Issues:

lastzero added a commit that referenced this issue Sep 12, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
@lastzero lastzero self-assigned this Sep 12, 2023
@lastzero lastzero added enhancement Optimization, improvement or maintenance task docker Docker Images, Build Scripts, Config & Deployment Examples ci Tests, Continuous Integration, Build and Deployment Automation video Video Formats, Transcoding, FFmpeg, Streaming & Co please-test Ready for acceptance test and removed ci Tests, Continuous Integration, Build and Deployment Automation labels Sep 12, 2023
lastzero added a commit that referenced this issue Sep 12, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
@graciousgrey graciousgrey added released Available in the stable release and removed please-test Ready for acceptance test labels Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Docker Images, Build Scripts, Config & Deployment Examples enhancement Optimization, improvement or maintenance task released Available in the stable release video Video Formats, Transcoding, FFmpeg, Streaming & Co
Projects
Status: Release 🌈
Development

No branches or pull requests

2 participants