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

feat: add support for PUID and PGID environment variables #50

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

WereCatf
Copy link
Contributor

@WereCatf WereCatf commented Nov 19, 2024

This commit removes the hardcoded MUMBLE_UID and MUMBLE_GID and instead adopts the commonly used PUID and PGID environment variables for setting the desired UID:GID for mumble-server to run as. For backwards-compatibility they still default to 10000:10000.

Also, a new variable MUMBLE_CHOWN_DATA is used to define whether to chown /data and its contents or not.

Fixes #34

@captainepoch
Copy link

Is this going to be merged? It's really useful.

@Krzmbrzl
Copy link
Member

I can answer that once I have found the time to review this PR

@Krzmbrzl Krzmbrzl force-pushed the puidpgid branch 2 times, most recently from b9a9f45 to d1be2e6 Compare January 10, 2025 10:22
This commit removes the hardcoded MUMBLE_UID and MUMBLE_GID and instead
adopts the commonly used PUID and PGID environment variables for setting
the desired UID:GID for mumble-server to run as. For backwards-compatibility
they still default to 10000:10000.

Also, a new variable `MUMBLE_CHOWN_DATA` is used to define whether to chown
`/data` and its contents or not.

Fixes mumble-voip#34

Signed-off-by: Nita Vesa <[email protected]>
@Krzmbrzl Krzmbrzl merged commit f1d9bea into mumble-voip:master Jan 10, 2025
2 checks passed
@Krzmbrzl
Copy link
Member

Thank you for implementing this 👍

@captainepoch
Copy link

Thank you very much!

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.

Remove PGID PUID Limitations
3 participants