Skip to content

Private files setup - #401

Open
rimi-itk wants to merge 2 commits into
developfrom
hotfix/private-files
Open

Private files setup#401
rimi-itk wants to merge 2 commits into
developfrom
hotfix/private-files

Conversation

@rimi-itk

@rimi-itk rimi-itk commented Aug 19, 2026

Copy link
Copy Markdown

Link to ticket

https://leantime.itkdev.dk/_#/tickets/showTicket/8147

Description

Adds private files setup.

Important

We must manually create the …/shared/private-files directory before deploying this.

@rimi-itk
rimi-itk changed the base branch from main to develop August 19, 2026 09:55
@rimi-itk
rimi-itk force-pushed the hotfix/private-files branch from 3a65ba4 to 97629f0 Compare August 19, 2026 10:22
@rimi-itk
rimi-itk marked this pull request as ready for review August 19, 2026 10:25
phpfpm:
volumes:
- ../../shared/${SUB_SITE_FOLDER}:/app/web/sites/${SUB_SITE_FOLDER}
- ../../shared/private-files:/app/private-files

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be

Suggested change
- ../../shared/private-files:/app/private-files
- ../../shared/${SUB_SITE_FOLDER}/private-files:/app/private-files

?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about how Drupal manages private files to answer authoritatively, but I would think (hope) Drupal can handle both.

But server side it would probably be an advantage to have the files clearly scoped by sub site in the filesystem. For cleanup, backup and monitoring disk usage.

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.

3 participants