DEV Community

Discussion on: How to use Docker for easy and fast WordPress development

Collapse
 
pwkip profile image
Jules Colle • Edited

Awesome! I love

  • how small this is
  • how it only keeps the wp-content folder in the file system (after 10 years of WP development this is the first time I find a dev example that encourages me to only place the wp-content folder under version control.)

Spotted 1 small error: your last two lines should be

volumes:
  db_data:

and not

volumes:
db_data:

otherwise it won't build. It's fine in your git repo though.

I agree that the 777 file permission is totally fine here. After all it's supposed to be a local dev environment.

Collapse
 
napolux profile image
Francesco Napoletano

Fixed, thanks!