Move huge directories to volumes
This commit is contained in:
parent
d468b58393
commit
9f9c0bc497
1 changed files with 10 additions and 1 deletions
|
@ -19,10 +19,19 @@ services:
|
|||
volumes:
|
||||
- ..:/vscode/src/mantra
|
||||
- ../test/website:/var/www/html
|
||||
- main-node:/vscode/src/mantra/node_modules/
|
||||
- main-composer:/vscode/src/mantra/vendor/
|
||||
db:
|
||||
image: mysql:5
|
||||
env_file: devcontainer.env
|
||||
environment:
|
||||
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||
volumes:
|
||||
- ./mysql-data:/var/lib/mysql
|
||||
- mysql-data:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
main-node:
|
||||
resources:
|
||||
main-composer:
|
||||
test-composer:
|
||||
mysql-data:
|
||||
|
|
Loading…
Reference in a new issue