1
0
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:
Laurent Arnoud 2015-03-24 15:22:11 +01:00
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