Tag: Docker
How to Manage Profiles in Spring Boot (with Docker)?
Natan Ferreira- 0
- 978
Spring Boot allows you to use profiles to separate configurations by environment, such as development (dev), staging (staging), and production (prod). This makes it easier to manage settings like database URLs, feature flags, and other environment-specific behaviors. In this post, you’ll learn how to: 📁 File Structure 🔧 Configuration Files 🔧 application.properties (common) 🔧 application-dev.properties…
Read More
Docker: Essential Commands Every Developer Should Know
Natan Ferreira- 0
- 298
Docker has revolutionized the way developers package, distribute, and run applications. With it, you can create portable and standardized environments with incredible ease. To make the most of this powerful tool, it’s essential to master some basic commands that are part of daily work with containers, images, and networks. In this post, we’ll explore the…
Read More
How to start Kafka using Docker?
Natan Ferreira- 0
- 488
It’s possible to use Kafka on various operating systems, but here we’ll use Docker on Ubuntu Linux. We need Docker Desktop installed in order to proceed. You can follow this tutorial to install it:👉 tutorial . Go to Docker Hub and in the search bar, look for “apache kafka”. This will allow us to download…
Read More
How does Poor Man’s Load Balancer work?
Natan Ferreira- 0
- 521
Understanding the concept of Poor Man’s Load Balancer is an interesting and educational approach, especially for grasping the fundamentals of horizontal scalability using containers and load balancing. Horizontal scalability allows multiple container instances, and requests will be distributed by the Load Balancer. This model is widely used in high-demand environments. Benefits: Problems and Solutions: How…
Read More
How to create a Docker Image using maven?
Natan Ferreira- 0
- 1115
Creating Docker images using Maven is essential to integrate the containerization process directly into the application’s build and deployment pipeline, offering significant benefits for developers and DevOps teams. Let’s see how to create a Docker image with Maven in Spring. This post is a continuation of the previous one; if you have any questions, feel…
Read More
How to build application image with Dockerfile?
Natan Ferreira- 0
- 653
Since this is a Java application, I need to use an image that can run a Java application. We need the Dockerfile and to use the OpenJDK base image. This Dockerfile is a recipe for building a Docker image that runs a Java application. Each instruction in the Dockerfile has a specific purpose. Let’s go…
Read More