webdevops / TYPO3-docker-boilerplate

:stew: TYPO3 Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
https://webdevops.io/projects/typo3-docker-boilerplate/
MIT License
233 stars 91 forks source link

Keep cache folders inside docker containers #117

Open htuscher opened 8 years ago

htuscher commented 8 years ago

Hey guys, thank you very much for that genius boilerplate.

I want to make one suggestion for enhancement: Running on OSX has some performance drawbacks, as you have a mounted folder inside the VM and the hypervisor needs to synchronize cache folders, which is pretty slow (no matter if VBoxFS or NFS). As you usually don't need any files inside the cache folder during development, it would be great if the cache folder can reside inside the docker container. I think this would dramatically increase the performance of the entire environment.

Best regards

elmar-hinz commented 8 years ago

Isn't it getting more difficult to delete the cache folders manually in case T3 fully blocks?

mblaschke commented 8 years ago

Hint: This is mainly a VirtualBox issue, performance (with or without NFS) with VMware or Parallels is great.

mblaschke commented 8 years ago

You can create /storage/typo3temp and symlink your typo3temp to this directory.

josefglatz commented 8 years ago

We could maybe add a note about this in our documentation?