Utilize spring.docker.compose.profiles.active property

This commit is contained in:
konstantin 2024-08-14 01:08:21 +03:00
parent d8fcd11e67
commit 86d5400266
2 changed files with 6 additions and 4 deletions

View file

@ -121,7 +121,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-docker-compose</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
@ -221,7 +220,7 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<!-- Spring Boot Actuator displays build-related information
<!-- Spring Boot Actuator displays build-related information
if a META-INF/build-info.properties file is present -->
<goals>
<goal>build-info</goal>
@ -385,7 +384,7 @@
<build>
<pluginManagement>
<plugins>
<!-- This plugin's configuration is used to store Eclipse m2e settings
<!-- This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
@ -443,4 +442,4 @@
</profile>
</profiles>
</project>
</project>

View file

@ -16,6 +16,9 @@ spring.messages.basename=messages/messages
# Actuator
management.endpoints.web.exposure.include=*
# Docker compose
spring.docker.compose.profiles.active=${spring.profiles.active}
# Logging
logging.level.org.springframework=INFO
# logging.level.org.springframework.web=DEBUG