# Learn profile: keep dependencies and runtime simple for first-round learning
spring:
  config:
    activate:
      on-profile: learn
  datasource:
    url: jdbc:h2:mem:springboot_scaffold_learn;MODE=MYSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
    driver-class-name: org.h2.Driver
    username: sa
    password:
  h2:
    console:
      enabled: true

app:
  profile: learn
  enabled-modules:
    - ioc
    - aop
    - mybatis
    - transaction
    - users

auth:
  type: none
  learning-note: "learn 模式默认不开启鉴权，专注 Spring 核心学习"

cache:
  type: caffeine
