mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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
@ -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…
x
Reference in New Issue
Block a user