application.yml

File purpose

The default Spring Boot application properties file. Controls application parameters and start-up modes.

File location

The file is located in the folder cvarc-starter\src\main\resources.

File values

The file uses the YAML language to define properties in a hierarchical structure. When loaded into the application, the properties follow the default dot notation.

The indentation levels used in the following table mirror the file itself.

Key Value Description
spring:
  profiles:
    default: "local,local-content" Default Spring profiles.
server: Subsection for application server properties.
  port: 9090 The port used for the application external services.
  servlet: Servlet configuration.
    context-path: "/cvarc-starter" The context path of the application.
management: Subsection for Spring Actuator application management.
  endpoints: Actuator endpoints.
  web: Web endpoints.
    exposure: Exposed endpoints.
    include: "*" The endpoint IDs to include.
springdoc:
 swagger-ui
  enabled false Enable/disable the Swagger UI. See Swagger