-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication-prod.yml
More file actions
66 lines (60 loc) · 1.79 KB
/
application-prod.yml
File metadata and controls
66 lines (60 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
spring:
config:
activate:
on-profile: prod
import:
- security/application-database.yml
- security/application-security.yml
- security/application-mail.yml
- security/application-swagger.yml
- security/application-wifi.yml
- security/application-cloudinary.yml
- security/application-fcm.yml
datasource:
url: ${geumpumta.mysql.url}&rewriteBatchedStatements=true&cachePrepStmts=true&useServerPrepStmts=true
username: ${geumpumta.mysql.username}
password: ${geumpumta.mysql.password}
driver-class-name: com.mysql.cj.jdbc.Driver
data:
redis:
host: ${geumpumta.redis.host}
port: ${geumpumta.redis.port}
password: ${geumpumta.redis.password}
repositories:
enabled: false
mvc:
log-request-details: true
jpa:
hibernate:
ddl-auto: create
open-in-view: false
show-sql: false
properties:
hibernate:
format_sql: false
highlight_sql: false
default_batch_fetch_size: 100
servlet:
multipart:
max-file-size: 10MB # 한 파일 최대 크기
max-request-size: 100MB # 전체 요청 최대 크기 (여러 파일 합산)
server:
forward-headers-strategy: framework
logging:
level:
# ---- HTTP 트래픽 흐름을 살펴봅니다.
org.springframework.web: info
# ---- Hibernate가 실행할 질의문을 살펴봅니다.
org.hibernate.SQL: warn
# ---- 질의문에 바인딩되는 파라미터를 살펴봅니다.
org.hibernate.orm.jdbc.bind: warn
# ---- 질의문 실행 결과를 살펴봅니다.
org.hibernate.orm.jdbc.extract: warn
management:
endpoints:
web:
exposure:
include: prometheus, health # 프로메테우스와 헬스 체크 허용
endpoint:
health:
show-details: always