Description:

Requesting support for the --project-name option in Docker Compose within the spring-boot-docker-compose project. This feature would enable specifying a custom project name directly in the application.yml configuration.

Current Behavior:

The current configuration does not support setting a custom Docker Compose project name via application.yml.

Proposed Enhancement:

Introduce a new property spring.docker.compose.project-name to set the Docker Compose project name.

Comment From: wilkinsona

Thanks for the suggestion. I think this is a specific case of https://github.com/spring-projects/spring-boot/issues/38763.

Comment From: mhalbritter

Hello,

why don't you use the name setting in the compose.yaml file to set the project name?

Comment From: osopromadze

Thanks @mhalbritter for suggestion, I will use this property.