Use local volumes for vendor and var directories to improve performance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user