Chapter 6. Application Packaging and Deployment

In this chapter, we will cover the following topics:

  • Creating a Spring Boot executable JAR
  • Creating Docker images
  • Building self-executing binaries
  • Spring Boot environment configuration hierarchy and precedence
  • Externalizing an environmental configuration using property files
  • Externalizing an environmental configuration using environment variables
  • Externalizing an environmental configuration using Java system properties
  • Setting up Consul
  • Externalizing an environmental configuration using Consul and envconsul

Introduction

What good is an application unless it is being used? In today's day and age—when DevOps became the way of doing software development, when Cloud is the king, and when building Microservices ...

Get Spring Boot Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.