Comments (2)
when I check the Run Configuration of CatalogApplication in Intellij IDEA, the Working Directory is by default set to the project root directory
Spring Boot uses this working directory to find the file. If the IDE is setting it incorrectly then, unfortunately, there's nothing that we can do about that at runtime. However, I think we can clarify the documentation. It currently states that Spring Boot will "search for a compose.yml and other common compose filenames in your application directory". We should say "working directory" here rather than "application directory".
from spring-boot.
When I enable compose support for testing with spring.docker.compose.skip.in-tests=false
then surprisingly the tests are expecting the compose.yml file inside module directory.
Upon further investigation, when I check the Run Configuration of CatalogApplication in Intellij IDEA, the Working Directory is by default set to the project root directory. When I change it to $MODULE_WORKING_DIR$
then it is loading the compose.yml file from the module directory only as expected.
from spring-boot.
Related Issues (20)
- Upgrade to Tomcat 10.1.24
- Upgrade to Jakarta XML SOAP 3.0.2
- Upgrade to Jakarta XML WS 4.0.2
- Upgrade to SAAJ Impl 3.0.4
- Upgrade to Spring Retry 2.0.6
- Upgrade to Tomcat 10.1.24
- Upgrade to Jakarta XML SOAP 3.0.2
- Upgrade to Jakarta XML WS 4.0.2
- Upgrade to SAAJ Impl 3.0.4
- Upgrade to Spring Retry 2.0.6
- Upgrade to Tomcat 10.1.24
- Test the lowest and highest supported versions of Maven
- Test the lowest and highest supported versions of Maven
- Test the lowest and highest supported versions of Maven
- Limit configuration cache testing to the latest version of Gradle
- Limit configuration cache testing to the latest version of Gradle
- Limit configuration cache testing to the latest version of Gradle
- max-http-header-size appears to limit http request-line length (which is not part of the http header block) HOT 1
- Image building fails during cleanup when bind mount has read-only content
- Relocate test CNB builder used in plugin integration tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.