fix typo in env-file argument (#16698)

This commit is contained in:
Jens Erat 2023-02-09 13:45:58 +01:00 committed by GitHub
parent eb56f32540
commit e0a45ff946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ services:
The `.env` file should be placed at the root of the project directory next to your `docker-compose.yml` file. You can use an alternative path with one of the following methods:
- The [`--file` option in the CLI](../reference/index.md#use--f-to-specify-name-and-path-of-one-or-more-compose-files)
- The [`- -env-file` option in the CLI](#substitute-with---env-file)
- The [`--env-file` option in the CLI](#substitute-with---env-file)
- Using the [`env_file` attribute in the Compose file](../compose-file/index.md#env_file)
For more information on formatting an environment file, see [Use an environment file](env-file.md).
@ -188,4 +188,4 @@ $ docker compose run -e DEBUG web python console.py
```
The value of the `DEBUG` variable in the container is taken from the value for
the same variable in the shell in which Compose is run.
the same variable in the shell in which Compose is run.