WordPress project setup - Trellis, Valet or Docker? -


i want start new wordpress project developer. decisions made are:

  • we want use bedrock wp structure
  • we want use sage wp theme
  • we put project in git repository

i ask myself if should use trellis, valet or docker.

my personal opinion trellis / docker bit project 2 developers working on it. additionally experience vagrant not positive, slow when used it. favorite valet, because it's slim. repository use beanstalk, there trigger deployments test , live system.

additionally not 100% sure if server want deploy project needs docker installed - knows that? , happens when server runs on apache , not nginx?

now docker has native mac , windows apps wouldn't need vagrant local dev, , running series of docker containers much faster full-fledged vm vagrant+virtualbox. right have mariadb + php-fpm + nginx + wordpress + phpmyadmin, , whole thing fast relative previous experience vagrant. faster in: faster initial install, faster start/stop, faster make changes , have them reflected after restart. replaced mysql mariadb in matter of minutes (mostly fumbling having proper syntax in docker-compose file).

the beauty of docker appears precisely when want switch components (say apache vs. nginx). in wordpress' case, provide images on docker hub either include apache or php-fpm (in latter case add nginx container stack).

that said got started docker , there kinks figure out, it's worth figuring out.

i haven't deployed docker yet plan test next once i've got local dev working intended. it's optional though, deploy git webhooks or whatever using now.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -