Set Docker Compose project name

Visual Studio Code will respect the value of the COMPOSE_PROJECT_NAME environment variable if set for the VS Code process or in a .env file in the root of the project.

For example, after shutting down all VS Code windows, you can start VS Code from the command line as follows:

# from bash
COMPOSE_PROJECT_NAME=foo code .
# from PowerShell
$env:COMPOSE_PROJECT_NAME=foo
code .

Or add the following to a .env file in the root of the project (not in the .devcontainer folder):

COMPOSE_PROJECT_NAME=foo