crear contenedor de docker a una api springboot (todo el proceso) June 16, 2026 | No Comments | command, configuration, console, docker, gradle, gradlew, information, java, linux, Linux Ubuntu Server, macos, port jar crear el .jar (en la raíz, donde está gradlew tirar el comando): no bootJar crea el .jar posta (con el server tomcat y todo […]
Show which port your Java Spring Boot Gradle app is listening on June 5, 2026 | No Comments | code, configuration, information, java Note that I commented out one line; that’s because otherwise there would be two instances of the app running, and then there would be a […]
Create an image of a Java app’s .jar file and then use that image to launch a Docker container. May 9, 2026 | No Comments | docker, information, linux, Linux Ubuntu Server, spring-boot First you need to have a .jar file in a directory In the same directory, you create a file: with content: 8080 is the port […]
micrometer + prometheus + grafana, metrics with frontend in java springboot gradle May 5, 2026 | No Comments | configuration, console, dashboard, docker, grafana, information, linux, metric, micrometer, prometheus, remote-access, server, ssh tunnel In short, Micrometer lives within your Java Spring Boot application; the metrics are real-time, and if the application restarts, everything is erased. Prometheus is a […]
command to publish in nexus April 21, 2026 | No Comments | command, configuration, information, java, repository set java 21 environment variable: located in the same place as “gradle” You execute publish in Gradle and also force Java version 21 via command […]