-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication.yml
More file actions
154 lines (139 loc) · 4.27 KB
/
Copy pathapplication.yml
File metadata and controls
154 lines (139 loc) · 4.27 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
spring:
cache:
type: redis
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
jpa:
open-in-view: false
hibernate:
ddl-auto: update
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
show-sql: false
properties:
hibernate:
format_sql: false
query:
plan_cache_max_size: 512 # 캐시 크기 제한 (기본값이 너무 클 수 있음)
plan_parameter_metadata_max_size: 128
dialect: org.hibernate.dialect.MySQL8InnoDBDialect
defer-datasource-initialization: true
sql:
init:
mode: always
encoding: UTF-8
servlet:
multipart:
location: /tmp
max-file-size: 50MB
max-request-size: 50MB
data:
redis:
host: ${REDIS_HOST}
port: 6379
password: ${REDIS_PASSWORD}
lettuce:
pool:
# 핵심: true로 되어 있다면 false로 변경 (매 요청마다 PING 방지)
test-on-borrow: false
# 대신 연결이 유효한지 백그라운드에서 가끔 확인
test-while-idle: true
# 유효성 검사 주기 (예: 30초)
time-between-eviction-runs: 30s
mail:
host: smtp.gmail.com
port: 587
username: leeyejin113@gmail.com
password: ${EMAIL_PASSWORD}
protocol: smtp
tls: true
properties:
mail.smtp.auth: true
mail.smtp.starttls.enable: true
# elasticsearch:
# uris: ${ELASTIC_URIS}
# username: ${ELASTIC_USERNAME}
# password: ${ELASTIC_PASSWORD}
logging:
level:
org.hibernate.SQL: off
# org.elasticsearch.client: TRACE
jwt:
secret:
key: ${JWT_SECRET_KEY}
social:
kakao:
iss: ${KAKAO_ISS}
aud: ${KAKAO_AUD}
google:
iss: ${GOOGLE_ISS}
aud: ${GOOGLE_AUD}
apple:
iss: ${APPLE_ISS}
aud: ${APPLE_AUD}
dev-aud: ${APPLE_DEV_AUD}
admin:
token: ${JWT_ADMIN_TOKEN}
cloud:
aws:
s3:
bucket: ${BUCKET_NAME}
credentials:
access-key: ${BUCKET_ACCESS_KEY}
secret-key: ${BUCKET_SECRET_KEY}
region:
static: ap-northeast-2
springdoc:
api-docs:
path: /api-docs
enabled: true
default-consumes-media-type: application/json
default-produces-media-type: application/json
swagger-ui:
operations-sorter: alpha
tags-sorter: alpha
path: /swagger-ui.html
doc-expansion: none
enabled: true
display-request-duration: true
paths-to-match:
- /api/**
profile:
image:
lv1-url: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/profile/lv1.jpg
lv2-url: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/profile/lv2.jpg
lv3-url: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/profile/lv3.jpg
lv4-url: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/profile/lv4.jpg
lv5-url: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/profile/lv5.jpg
place:
default-image:
cafe: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/CAFE.jpg
cafeteria: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/CAFETERIA.jpg
convenience-store: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/CONVENIENCE_STORE.jpg
gym: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/GYM.jpg
lounge: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/LOUNGE.jpg
reading-room: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/READING_ROOM.jpg
shower-room: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/SHOWER_ROOM.jpg
sleeping-room: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/SLEEPING_ROOM.jpg
study-room: https://kodaero-ku.s3.ap-northeast-2.amazonaws.com/place/default_image/STUDY_ROOM.jpg
date:
api:
holiday:
end-point: ${HOLIDAY_API_END_POINT}
encoded-key: ${HOLIDAY_API_ENCODED_KEY}
decoded-key: ${HOLIDAY_API_DECODED_KEY}
metrics:
environment: ${METRICS_ENV}
management:
endpoints:
web:
exposure:
include: prometheus, health, info, heapdump
metrics:
tags:
application: kodaero
staff:
emails: leeyejin113@gmail.com,pingdoll3110@naver.com,ku.kodaero@gmail.com