Add support for 'env_file' key

Signed-off-by: Ben Langfeld <ben@langfeld.me>
This commit is contained in:
Ben Langfeld 2014-09-12 00:57:23 -03:00
commit 98b6d7be78
7 changed files with 135 additions and 6 deletions

View file

@ -120,6 +120,21 @@ environment:
- SESSION_SECRET
```
### env_file
Add environment variables from a file. Can be a single value or a list.
Environment variables specified in `environment` override these values.
```
env_file:
- .env
```
```
RACK_ENV: development
```
### net
Networking mode. Use the same values as the docker client `--net` parameter.