Closed c4710n closed 1 year ago
I found that Compose file supports a top-level name
, then it is better to not add this option. (Make the compose file as the single source of truth)
You're right, this sounds like a better way.
If you need to set project name anyway, I suggest using environment variable COMPOSE_PROJECT_NAME
.
Specifying project name is necessary when using a bunch of compose files in a same directory.
This PR adds
-p | --project-name
support using the same syntax as docker compose.