In your example, you’re given two yaml files… Here, you just can have one by putting the first “content” to the second file i.e. declare the two services in the same file.
By running docker composer up, the yaml file will be processed, the services will be build if needed and containers will be created.
Hi,
Thank you so much for your reply.
Not really. As you can see, I have two different YAML files, each located in a different directory. I have used php-fpm in both containers. I want to know that for the second container, will php-fpm be downloaded again?