Support reading config from stdin.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-05-26 22:09:26 -04:00
commit ae96fc0071
10 changed files with 197 additions and 147 deletions

View file

@ -153,6 +153,9 @@ By default, if there are existing containers for a service, `docker-compose up`
for `docker-compose.yml` in the current working directory, and then each parent
directory successively, until found.
Use a `-` as the filename to read configuration from stdin. When stdin is used
all paths in the configuration will be relative to the current working
directory.
### -p, --project-name NAME