Skip to content

application.yml 양식

WOOJIN SON edited this page Feb 12, 2023 · 2 revisions
spring:
  datasource:
    driver-class-name: org.mariadb.jdbc.Driver
    url: jdbc:mariadb://localhost:3306/twitter_clone_db_dev
    username: {root username}
    password: {root password}
  jpa:
    hibernate:
      ddl-auto: validate
  data:
    redis:
      host: localhost
      port: {redis port}
  output:
    ansi:
      enabled: always
jwt:
  security:
    key: {secret key}

file:
  ImageLocation: {image location}
  cdn:
    tweetImage: {cdn url}

spring-doc:
  api-docs:
    path: /docs

  swagger-ui:
    path: /swagger-ui
    display-request-duration: true

  cache:
    disabled: true

Clone this wiki locally