Skip to content

Commit 4c6b730

Browse files
author
Andre Felipe de Barros Azevedo Nogueira
committed
fix: Error deploy Docker
Containerized Environments: In certain container setups (e.g., Docker, Kubernetes), the container might not fully expose cgroup information to the Java Virtual Machine (JVM) in a way that jdk.internal.platform.CgroupInfo can properly interpret. This can happen with older container runtimes or specific configurations.
1 parent a1e029c commit 4c6b730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

securetimenotes/src/main/java/securetimenotes/andrefelipebarros/securetimenotes/SecuretimenotesApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55

6-
@SpringBootApplication
6+
@SpringBootApplication(exclude = org.springframework.boot.actuate.autoconfigure.metrics.SystemMetricsAutoConfiguration.class)
77
public class SecuretimenotesApplication {
88

99
public static void main(String[] args) {

0 commit comments

Comments
 (0)