diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 65f2cb9..988dee6 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -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 \ No newline at end of file + - mysql-data:/var/lib/mysql + +volumes: + main-node: + resources: + main-composer: + test-composer: + mysql-data: