Merge pull request #11793 from rcowsill/patch-1

Explain Compose file relative path resolution
This commit is contained in:
Usha Mandya 2020-12-01 18:32:48 +00:00 committed by GitHub
commit f4b16104d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -114,6 +114,10 @@ webapp:
- DEBUG=1
```
When you use multiple Compose files, all paths in the files are relative to the
first configuration file specified with `-f`. You can use the
`--project-directory` option to override this base path.
Use a `-f` with `-` (dash) as the filename to read the configuration from
`stdin`. When `stdin` is used all paths in the configuration are
relative to the current working directory.