create a Docker image of an application May 10, 2026 | No Comments | command, configuration, console, docker, gradle, image, information, linux, Linux Ubuntu Server, server, spring-boot In my case, I’ll do this with a .jar file (a Java app) (the location of .jar is in the root directory, search: /build/libs/) You […]
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 […]
Publish artifact to remote Nexus repository February 22, 2026 | No Comments | gradle, gradlew, information, java, nexus, remote-access, router, server, spring-boot, ssh in build.gradle in your project: to publish: need a .env file with environment variables & www. is a subdomain
Access the Nexus Sonatype repository and a port from an external PC | No Comments | gradle, information, port, public_ip, remote-access, router, spring-boot Ubuntu usually has the firewall active. You need to allow traffic through port 8081: Configure Nexus to “listen” to everyone Sometimes Nexus is configured to […]
map port xxxx of localhost to port yyyy of a server February 21, 2026 | No Comments | configuration, console, gradle, information, java, nexus, port, remote-access, spring-boot, web create an SSH tunnel In my case, I have a server with “ubuntu server” and it doesn’t have a monitor, and I’m connected via SSH […]