spring:
  application:
    name: ga-batch
  profiles:
    active: local
  datasource:
    url: jdbc:postgresql://localhost:5432/ga
    username: ga
    password: ga
    driver-class-name: org.postgresql.Driver
  flyway:
    enabled: false   # ga-api 가 마이그레이션 담당
  data:
    redis:
      host: localhost
      port: 6379
  batch:
    jdbc:
      initialize-schema: always
    job:
      enabled: false   # 자동 실행 비활성. JobLauncher 로 명시 실행

server:
  port: 8081

mybatis:
  config-location: classpath:mybatis/mybatis-config.xml
  mapper-locations: classpath*:mapper/**/*.xml
  type-aliases-package: com.ga.core.vo,com.ga.common.model

pagehelper:
  helper-dialect: postgresql
  reasonable: true

ga:
  jwt:
    secret: ${JWT_SECRET:change-me-please-this-must-be-at-least-256-bits-long-secret-key}
  encrypt:
    key: ${ENCRYPT_KEY:0123456789abcdef0123456789abcdef}

logging:
  level:
    com.ga: INFO
    org.springframework.batch: INFO
