Skip to content

Conversation

@peteruithoven
Copy link

@peteruithoven peteruithoven commented Jan 19, 2026

I'll preface this my saying I'm no Docker expert.
The directus docker compose file describes 2 volumes which seem to be automatically created:
https://github.com/peteruithoven/starters/blob/ac808612c1d3503024b4afc68aa0a644e640a184/cms/directus/docker-compose.yaml#L34C1-L36C42
In my case those are created under my root user. Since the Directus service itself runs as a regular user it can't create files in the upload folder because it doesn't have permission. By including these folders (with .gitkeep) in the template these folders already exist and are owned by the regular user.

When the Directus service doesn't have write access to the uploads folder this causes 503 errors, which are reported as "Server under pressure" errors by the directus-template-cli. Leading to issues like:

I think some people run the docker daemon as root and some don't and I think only the people running it as root run into this problem.

Related older issue: directus/directus#8960

@vercel
Copy link

vercel bot commented Jan 19, 2026

Someone is attempting to deploy a commit to the Directus Team on Vercel.

A member of the Team first needs to authorize it.

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