Merge pull request #14463 from marcopus/patch-1

Update envvars.md
This commit is contained in:
Usha Mandya 2022-04-08 10:59:23 +01:00 committed by GitHub
commit 669f796938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Docker command-line client. If you're using `docker-machine`, then the `eval "$(
Sets the project name. This value is prepended along with the service name to
the container on start up. For example, if your project name is `myapp` and it
includes two services `db` and `web`, then Compose starts containers named
`myapp_db_1` and `myapp_web_1` respectively.
`myapp-db-1` and `myapp-web-1` respectively.
Setting this is optional. If you do not set this, the `COMPOSE_PROJECT_NAME`
defaults to the `basename` of the project directory. See also the `-p`