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:
parent
8d5c56fb64
commit
e04e077c9f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue