Skip to content

  • Home

Tag: java

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 […]

ascii art of the beginning – gradle

January 29, 2026
 |  No Comments
 |  gradle, information, java, spring-boot
You must place the following content in /resources/banner.txt: as seen from Visual Studio Code: ASCII art generator (from text): https://patorjk.com/software/taag/#p=display&f=Graffiti&t=LEIBNIX&x=none&v=4&h=4&w=80&we=false ASCII art will appear in […]

Posts navigation

1 2 3 … 5 Next

Categories

Theme By SKT Minimal