Skip to content

Commit

Permalink
feat: prod.yml 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyeon0130 committed Feb 5, 2025
1 parent 6eb3c3d commit 0ca04d1
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
server:
port: 9000

spring:
config:
activate:
on-profile: prod
import:
- data.yml
datasource:
url: ${DB_URL}
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
jpa:
hibernate:
ddl-auto: none
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
cors:
allowed-origins: ${CORS_ALLOWED_ORIGINS}
cloud:
openfeign:
client:
config:
default:
connectTimeout: 5000
loggerLevel: full
defaultRequestHeaders:
Authorization: Bearer accessToken
dismiss404: false

logging:
level:
org:
springframework:
boot:
autoconfigure: ERROR

springdoc:
packages-to-scan: com.yourssu.soongpt
default-consumes-media-type: application/json;charset=UTF-8
default-produces-media-type: application/json;charset=UTF-8
swagger-ui:
path: /swagger-ui
disable-swagger-default-url: true
display-request-duration: true
operations-sorter: alpha

slack:
channel-id: "ssongpt-channel-id"

0 comments on commit 0ca04d1

Please sign in to comment.