MySQL

server:
  port: 8088

spring.datasource.url: jdbc:mysql://3.37.222.161:3306/tiary?characterEncoding=UTF-8
spring.datasource.username: root
spring.datasource.password: tiary1234
spring.datasource.driver-class-name: com.mysql.cj.jdbc.Driver

spring:
  jpa:
    hibernate:
      ddl-auto: update
    show-sql: true
    generate-ddl: true
    properties:
      hibernate:
        format_sql: true
    database: mysql
    database-platform: org.hibernate.dialect.MySQL8Dialect
logging:
  level:
    org:
      hibernate : info

cloud:
  aws:
    credentials:
      access-key: AKIATHBNGYVRPWPSD2KN
      secret-key: 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
    region:
      static: ap-northeast-2
      auto: false
    stack:
      auto: false
    s3:
      bucket: tiary-images

H2 DB

server:
  port: 8088

spring:
  jpa:
    hibernate:
      ddl-auto: create
    show-sql: true
    generate-ddl: true
    properties:
      hibernate:
        format_sql: true
        dialect: org.hibernate.dialect.H2Dialect
    database-platform: org.hibernate.dialect.H2Dialect
    defer-datasource-initialization: true
  sql:
    init:
      data-locations: classpath:data.sql
      mode: always

  h2:
    console:
      enabled: true
      path: /h2
  datasource:
    url: jdbc:h2:mem:test
    username: sa
    password: 1234
    driver-class-name:
logging:
  level:
    org:
      hibernate : info

cloud:
  aws:
    credentials:
        access-key: AKIATHBNGYVRPWPSD2KN
        secret-key: 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
    region:
      static: ap-northeast-2
      auto: false
    stack:
      auto: false
    s3:
      bucket: tiary-images