Minor style updates

This commit is contained in:
Usha Mandya 2020-08-26 13:40:21 +01:00 committed by GitHub
parent 231b04065e
commit 7d9d5f3aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -22,10 +22,12 @@ If you have multiple environment variables, you can substitute them by providing
a path to your environment variables file. By default, the `docker-compose`
command will look for a file named `.env` in the directory you run the command.
By passing the file as an argument, you can store it anywhere and name it
appropriately, e.g (.env.ci, .env.dev, .env.prod). Passing the file path is
appropriately, for example, `.env.ci`, `.env.dev`, `.env.prod`. Passing the file path is
done using the `--env-file` option:
``` docker-compose --env-file ./config/.env.dev up ```
```shell
docker-compose --env-file ./config/.env.dev up
```
For more information, see the
[Variable substitution](compose-file/index.md#variable-substitution) section in the