1+ spring :
2+ config :
3+ import : optional:file:.env.properties
4+ profiles :
5+ active : dev
6+ include : secret
7+ output :
8+ ansi :
9+ enabled : always
10+ jpa :
11+ database-platform : org.hibernate.dialect.PostgreSQLDialect
12+ properties :
13+ hibernate :
14+ format_sql : true
15+ use_sql_comments : true
16+ default_batch_fetch_size : 100
17+ hibernate :
18+ ddl-auto : update
19+ show-sql : true
20+ mvc :
21+ hiddenmethod :
22+ filter :
23+ enabled : true
24+ data :
25+ redis :
26+ host : localhost
27+ port : 6379
28+
29+ logging :
30+ level :
31+ org.hibernate.orm.jdbc.bind : TRACE
32+ org.hibernate.orm.jdbc.extract : TRACE
33+ org.springframework.transaction.interceptor : TRACE
34+ com.back : DEBUG
35+
36+ springdoc :
37+ swagger-ui :
38+ tags-sorter : alpha
39+ operations-sorter : method
40+ default-produces-media-type : application/json
41+ default-consumes-media-type : application/json
42+
43+ custom :
44+ cors :
45+ allowed-origins :
46+ - http://localhost:3000
47+ - http://localhost:8080
48+ allowed-methods :
49+ - GET
50+ - POST
51+ - PUT
52+ - DELETE
53+ allowed-headers :
54+ - " *"
55+
56+ jwt :
57+ secret : ${JWT_SECRET}
58+ access-token-duration : ${JWT_ACCESS_TOKEN_DURATION:3600}
59+ refresh-token-duration : ${JWT_REFRESH_TOKEN_DURATION:1209600}
60+
61+ dev :
62+ domain : localhost
63+ back-url : " http://${custom.dev.domain}:${server.port}"
64+ front-url : " http://${custom.dev.domain}:3000"
65+ prod :
66+ domain : ${API_BASE_URL}
67+ back-url : " https://api.${custom.prod.domain}"
68+ front-url : " https://www.${custom.prod.domain}"
69+ site :
70+ domain : " ${custom.dev.domain}"
71+ back-url : " ${custom.dev.back-url}"
72+ front-url : " ${custom.dev.front-url}"
73+
74+ queue :
75+ scheduler :
76+ # 입장 처리 스케줄러
77+ entry :
78+ cron : " */10 * * * * *" # 10초마다 실행
79+ batch-size : 100 # 한 번에 입장시킬 인원
80+ max-entered-limit : 100 # 최대 수용 인원
81+
82+ # 셔플 처리 스케줄러
83+ shuffle :
84+ cron : " */30 * * * * *" # 테스트를 위해 30초마다 실행
85+ # cron: "0 */10 * * * *" # 10분마다 실행
86+ time-range-minutes : 1 # 시간 범위
87+
88+ expire :
89+ cron : " 0 * * * * *"
90+
91+ event :
92+ scheduler :
93+ open :
94+ cron : " 0 * * * * *"
95+
96+ # Actuator/micrometer/prometheus 설정
97+ management :
98+ endpoints :
99+ web :
100+ exposure :
101+ include : health,info,metrics,prometheus
102+ endpoint :
103+ health :
104+ show-details : always
105+ metrics :
106+ tags :
107+ application : waitfair-backend
108+ distribution :
109+ percentiles-histogram :
110+ http.server.requests : true
111+ percentiles :
112+ http.server.requests : 0.5,0.95,0.99
113+ security :
114+ password :
115+ bcrypt-strength : 8 # prod 8 이상, perf/test/dev 4
0 commit comments