Difference between revisions of "Depends on:"
Jump to navigation
Jump to search
(Created page with "{{lc}} * Terraform meta-argument: depends_on {{docker-compose.yml}}") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://docs.docker.com/compose/compose-file/compose-file-v3/#depends_on | ||
+ | <pre> | ||
+ | version: "3.8" | ||
+ | services: | ||
+ | web: | ||
+ | build: . | ||
+ | depends_on: | ||
+ | - db | ||
+ | - redis | ||
+ | redis: | ||
+ | image: redis | ||
+ | db: | ||
+ | image: postgres | ||
+ | </pre> | ||
+ | == Related == | ||
* [[Terraform meta-argument: depends_on]] | * [[Terraform meta-argument: depends_on]] | ||
+ | == See also == | ||
+ | * {{docker-compose.yml}} | ||
− | + | [[Category:Docker]] | |
− |
Latest revision as of 10:03, 21 April 2024
Advertising: