DailyNotes
DailyNotes copied to clipboard
[Request] Docker - Allow to pass User / Group Identifiers
When trying to mount the config_dir
I run into permission issues.
I am in no way a Docker expert, and usually rely on linuxserver.io images on our homeserver, e.g. hedgedoc.
Linuxserver.io usually offers the following environment variables: PUID, PGID
:
User / Group Identifiers
When using volumes (
-v
flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the userPUID
and groupPGID
.Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
Would it make sense to allow this configuration?
Probably. I'll look into it. Maybe I'll talk to the linuxserver guys about hosting it. They made a container for one of my other apps.
Done on #48
Reopening this because I had to revert the changes. They were breaking