Use local volumes for vendor and var directories to improve performance

This commit is contained in:
Björn Fromme
2020-03-09 17:58:55 +01:00
parent 8904d353ef
commit 545c37b2e6
2 changed files with 23 additions and 2 deletions
+19 -1
View File
@@ -3,4 +3,22 @@ version: '3.6'
services:
web:
environment:
- TYPO3_CONTEXT=Development/Ddev
- TYPO3_CONTEXT=Development/Ddev
- DDEV_UID
- DDEV_GID
volumes:
- type: volume
source: var
target: /var/www/html/var
volume:
nocopy: true
- type: volume
source: vendor
target: /var/www/html/vendor
volume:
nocopy: true
volumes:
vendor:
driver: local
var:
driver: local