Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants