How do I install another Wordpress site using Docker-compose?

0

I installed the Wordpress in a container in Ubuntu 18.04 lts, through this tutorial here . It worked.

Now, I would like to install more than one Wordpress site to create other different projects.

How can I do this? Should I create another container? Create another file and do the same procedure as the tutorial?

I'm lost, please help me.

Thank you

    
asked by anonymous 14.10.2018 / 19:34

2 answers

0

To create a new container with the wordpress application you need to duplicate the configuration below the "wordpress" tag in your docker-compose file. Remember that you will need to change some settings, such as the port that your wordpress container will use and the database

    
15.11.2018 / 21:47
0

Good afternoon,

Yes, each Docker container runs only one project at a time. In that case, it would be best to create another project and put Docker in it.

For each project, a Docker container must be created to use it.

Hug.

    
14.10.2018 / 19:41