Problem
Docker Compose V2 prioritizes compose.yaml over docker-compose.yml, which conflicts with our pattern of using compose.yaml for Spring Boot's Docker Compose integration (dev dependencies only) and docker-compose.yml for the full deployable stack.
Solution
- Rename
compose.yaml to compose.dev.yaml (dev dependencies for bootRun)
- Rename
docker-compose.yml to compose.yaml (full stack including the app container)
- Update
spring.docker.compose.file property to point to compose.dev.yaml
- Update any README or documentation references to the old filenames