School project: Running Nginx, PHP and MySQL containers using Docker Compose

hello can you help me to do this docker is new for me and i have project for school please:

Create a docker-compose that will launch two nginx services, two PHP services and a mysql database


If you choose a title like “Can you help me”, there is a good chance that a very few people will click on it if anyone at all. I renamed the topic.

The othe rproblem is that the information is not enough to help you. If it is a school project, I assume, you had some lessons, guidence so you should be able to at least start it. I could run all two nginx containers, two PHP containers and one MySQL database without any connection between them.This is probably not your task.

You need to learn about conta9niers first: Introduction to Containers

and Docker compose:

You can also find examples: