Docs: fix env_file example
Thanks-to: @aanand Signed-off-by: Laurent Arnoud <laurent@spkdev.net>
This commit is contained in:
parent
02f119e4b7
commit
e3cff5d17d
1 changed files with 5 additions and 1 deletions
|
|
@ -172,8 +172,12 @@ env_file:
|
|||
- /opt/secrets.env
|
||||
```
|
||||
|
||||
Compose expects each line in an env file to be in `VAR=VAL` format. Lines
|
||||
beginning with `#` (i.e. comments) are ignored, as are blank lines.
|
||||
|
||||
```
|
||||
RACK_ENV: development
|
||||
# Set Rails/Rack environment
|
||||
RACK_ENV=development
|
||||
```
|
||||
|
||||
### extends
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue