davidyeiser / docker-wordpress-theme-setup

Setup WordPress locally for theme development with Docker.
119 stars 54 forks source link

Multiple versions #3

Closed diversityX closed 4 years ago

diversityX commented 4 years ago

Thanks for the tutorial. It made this so simple.

How can I create multiple containers, with separate DB's and ports for the different sites? Do you have a tutorial for that?

mario-neuhold commented 4 years ago

Just create separate folders for each site in which you clone this repo and change the port in docker-compose.yml for each container. Then you can start each container from a terminal by typing docker-compose up -d.

davidyeiser commented 4 years ago

@mario-neuhold Thanks for answering this!

@diversityX Please re-open if you still have questions.

(Apologies for the delayed reply — I didn’t get notifications of new Issues)