Which is better to create docker-compose.yml file
问题 I have two web applications, all of them are visited through their domain names, nginx as their proxy, there are two methods to create docker-compose.yml file create only one docker-compose.yml file with all applications's config on it, like following webapp1: image:nodejs command: node app.js webapp2: image:nodejs command: node app.js nginx: image:nginx ports: - "80:80" depends_on: - webapp1 - webapp2 create three docker-compose.yml files, like following webapp1 webapp1: image:nodejs command