Skip to content

Fix data volume permission#23

Merged
greenlogles merged 2 commits intomainfrom
chown
Feb 26, 2026
Merged

Fix data volume permission#23
greenlogles merged 2 commits intomainfrom
chown

Conversation

@greenlogles
Copy link
Owner

@greenlogles greenlogles commented Feb 26, 2026

Run from root, run chown, switch to proxui user.

Add entrypoint.sh that runs as root to chown /app/data to the proxui
user, then exec's via su-exec to drop back to non-root. Installs
su-exec in the image. This resolves the EACCES error when Docker
creates the bind-mount directory as root-owned.
su-exec is Alpine-only; gosu is the Debian equivalent and available
in apt. python:3.11-slim is Debian-based.
@greenlogles greenlogles merged commit 44b0dc2 into main Feb 26, 2026
11 checks passed
@greenlogles
Copy link
Owner Author

Fixes issue #22

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.

1 participant