Docker compose
Hello,
I have some questions about the docker compose: 1- In an internet article, a file called docker-compose.yaml was created to build the container. Can I create a YAML file for each container and use docker compose up -d to run it? If this is possible, how can I specify the input file? 2- I want to start a website that uses Nginx web server and PHP and JavaScript programming languages. Do I need a container for each (Nginx, PHP and JavaScript)? 3- The following configuration file creates a container using image and connects the containers using links: Code:
version: '3.9' 4- I have created a container and now I want to make some changes in the YAML file and apply these new changes to the container. What should I do? 5- Is there a special folder for making containers? For example, the /var/www directory is for the web server. Thank you. |
|
All times are GMT -5. The time now is 03:21 AM. |