Move huge directories to volumes

This commit is contained in:
Manuel Thalmann 2021-05-10 20:40:36 +00:00
parent d468b58393
commit 9f9c0bc497

View file

@ -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: