Skip to content

feat(mount): Add permissions to volumes mount#2517

Open
divaltor wants to merge 4 commits into
Dokploy:canaryfrom
divaltor:mount-permissions
Open

feat(mount): Add permissions to volumes mount#2517
divaltor wants to merge 4 commits into
Dokploy:canaryfrom
divaltor:mount-permissions

Conversation

@divaltor

@divaltor divaltor commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

What is this PR about?

Add possibility to set custom permissions and mode to attached volume (default GID and UID are 1000:1000, read-only 644 permissions)

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

closes #497

Screenshots (if applicable)

image image

@divaltor divaltor marked this pull request as ready for review September 3, 2025 19:50
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Mar 24, 2026
divaltor and others added 4 commits July 12, 2026 17:54
- Introduced new columns `uid`, `gid`, and `mode` to the `mount` table in the SQL migration file `0155_bouncy_jazinda.sql`.
- Updated the journal to include the new migration version.
- Created a new snapshot file `0155_snapshot.json` to reflect the current database schema.
- Updated the `mode` field in the mount schema to require a regex validation for octal values, ensuring it matches formats like 755 or 0644.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add customizable unix permissions and ownership for Docker Volume Mounts

2 participants