For my Symfony site, I would like for the symfony cache to be a named volume. I think having it a part of my main workspace volume is causing occasional caching errors. But when I create a named volume I am given an error that the cache directory is not writable. Which I presume is because FPM is running as wodby and not root. Is there a way I can accomplish the goal of making the 'cache' be in docker only?
For my Symfony site, I would like for the symfony cache to be a named volume. I think having it a part of my main workspace volume is causing occasional caching errors. But when I create a named volume I am given an error that the cache directory is not writable. Which I presume is because FPM is running as
wodby
and notroot
. Is there a way I can accomplish the goal of making the 'cache' be in docker only?Host OS
macOS Monterey
Docker info output
Docker compose file
Logs output