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)
- Avoid calling getProject() during execution of extractVersionConstraints
- Avoid calling getProject() during execution of extractVersionConstraints
- Enabling distribution percentiles for Prometheus 1.x leads to "Counts in ClassicHistogramBuckets cannot be negative" HOT 2
- LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' HOT 1
- Note that spring-boot-docker-compose is excluded by default from packaged jars HOT 9
- docker-compose profile won't work if 'spring.docker.compose.file' is not defined HOT 2
- No error body when using "functional Handlers" and Spring MVC during tests HOT 1
- Document that Docker Compose support is excluded from the uber JAR HOT 1
- Configuring SSL bundle reload for non-file resource types causes errors that are difficult to diagnose
- Properties binding eagerly creates superfluous maps
- Support Markdown documentation comments in spring-boot-configuration-processor
- Make it easier to provide a custom RequestToViewNameTranslator
- Note that spring-boot-docker-compose is excluded by default from packaged jars
- Note that spring-boot-docker-compose is excluded by default from packaged jars
- Remove Concourse CI configuration
- Remove Concourse CI configuration
- Remove Concourse CI configuration HOT 1
- Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: An object of type 'org.springframework.boot.loader.nio.file.NestedFileSystemProvider' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default. HOT 3
- Declare the inputs of GenerateAntoraPlaybook more precisely
- Test Gradle plugin against Gradle 8.8 HOT 1
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.