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:
|
volumes:
|
||||||
- ..:/vscode/src/mantra
|
- ..:/vscode/src/mantra
|
||||||
- ../test/website:/var/www/html
|
- ../test/website:/var/www/html
|
||||||
|
- main-node:/vscode/src/mantra/node_modules/
|
||||||
|
- main-composer:/vscode/src/mantra/vendor/
|
||||||
db:
|
db:
|
||||||
image: mysql:5
|
image: mysql:5
|
||||||
env_file: devcontainer.env
|
env_file: devcontainer.env
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
volumes:
|
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