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

Support PUID and PGID environment variables #423

Open
IslandJohn opened this issue Mar 30, 2023 · 3 comments
Open

Support PUID and PGID environment variables #423

IslandJohn opened this issue Mar 30, 2023 · 3 comments

Comments

@IslandJohn
Copy link

Many Docker containers allow setting the PUID and PGID environment variables so that the entry points shed their default 0:0 permissions. The gphotos-sync container setup currently ignores these. Please consider adding support for them.

@gilesknap
Copy link
Owner

gilesknap commented Mar 31, 2023

Hi @IslandJohn

If I understand the use of these correctly then I believe we already have a solution for this. Take a look at this and see if it meets your requirement #279 (comment)

@IslandJohn
Copy link
Author

Thanks, yes that's an option, it's just "less standard" on a Synology packing of Docker and I've been using env. vars where possible. Usually through the env vars the Dockerfile has adduser and shed the root permissions at startup.

@gilesknap
Copy link
Owner

Ok that sounds easy enough. I'll take a look soon.

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

No branches or pull requests

2 participants