diff --git a/compose/environment-variables.md b/compose/environment-variables.md index 3c67627b0a..42680cce17 100644 --- a/compose/environment-variables.md +++ b/compose/environment-variables.md @@ -129,11 +129,11 @@ services: When you set the same environment variable in multiple files, here's the priority used by Compose to choose which value to use: -1. Compose file, -2. Shell environment variables, -3. Environment file, -4. Dockerfile, -5. Variable is not defined. +1. Compose file +2. Shell environment variables +3. Environment file +4. Dockerfile +5. Variable is not defined In the example below, we set the same environment variable on an Environment file, and the Compose file: