Feature request: Add support for PLATFORM_CACHE_DIR environment variable
gilzow opened this issue · 5 comments
I've come across a couple of projects that rely on the PLATFORM_CACHE_DIR environmental variable and fail to install correctly when using DDEV with this add-on.
Would it be possible to add this env var to the default mappings? For now I'm manually adding it into ./.ddev/config.platforsh.yaml
and restarting, but having it by default would be appreciated. Thanks!
Thanks! Are there templates you're using that demonstrate the problem?
NextCloud and Pimcore are the two off the top of my head. NextCloud is the one I'm working on now that spawned this feature request.
The updated Pimcore template will rely on it pretty heavily.
And anyone who installs extras via our homebrew instructions will need it.
Hi @gilzow and thanks for the report!
Can you please share the value you're currently setting manually in .ddev/config.platformsh.yaml
?
Normally I set it to the same as the system's $TMPDIR
but in DDEV's case, that value isn't set. For this project I just set it to /tmp
- "PLATFORM_CACHE_DIR=/tmp"