Add support for 'env_file' key
Signed-off-by: Ben Langfeld <ben@langfeld.me>
This commit is contained in:
parent
a12cf826cd
commit
98b6d7be78
7 changed files with 135 additions and 6 deletions
15
docs/yml.md
15
docs/yml.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue