How do I stop Authentik from resetting the permissions in the Docker directory mounts? #13074
Unanswered
SpencerDub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running Authentik in a Docker container, and on my host machine, Docker runs using the dedicated
appuser
user.Every time I restart Authentik, the
/media
and/templates
directories have their permissions returned to a different user and group (my personal user account on the host system), so I have to go in and re-chown
them. I also note that the target for the redis/data
directory is owned byopenmediavault-webgui:root
, which is not theappuser:appmgr
I want, and the postgresql container's/var/lib/postgresql/data
is owned by70:root
on the host system. Also not my preferred user.This is inconvenient, of course, and I'd really appreciate not having to take this step. Notably, I can't upload images (such as background images for flows) without first fixing these permissions.
I'll attach my Docker Compose file below. What modifications do I need to make so that Authentik can still function, but I don't have to re-
chown
these directories back toappuser:appmgr
every time?Beta Was this translation helpful? Give feedback.
All reactions