refactor(docker): ♻️ Simplify volume mounts in docker-compose

Refactor volume mounts for easier development.

- Reduce redundant volume declarations.
- Mount entire project directory.
- Improve development workflow.
This commit is contained in:
Maicol Battistini 2025-02-04 11:15:05 +01:00
parent 8d5c56fb64
commit e04e077c9f
No known key found for this signature in database
1 changed files with 1 additions and 3 deletions

View File

@ -29,9 +29,7 @@ services:
- "80:80"
- "443:443"
volumes:
- ./web/modules/custom:/opt/drupal/web/modules/custom
- ./web/themes/custom:/opt/drupal/web/themes/custom
- ./web/sites:/opt/drupal/web/sites
- .:/opt/drupal
- /app/public/modules
- /app/public/profiles
- /app/public/themes