11spring :
2- jpa :
3- database-platform : org.hibernate.dialect.MySQLDialect
4- hibernate :
5- ddl-auto : update # [none | validate | update | create | create-drop]
6-
7- config :
8- import : optional:file:.env[.properties]
9-
102 datasource :
113 url : jdbc:mysql://${MYSQL_HOST}:3306/${MYSQL_DATABASE}?serverTimezone=Asia/Seoul&characterEncoding=UTF-8
124 driver-class-name : com.mysql.cj.jdbc.Driver
135 username : ${MYSQL_USERNAME}
146 password : ${MYSQL_PASSWORD}
157
8+ data :
9+ redis :
10+ host : redis_1
11+ port : 6379
12+
13+ config :
14+ import : optional:file:.env[.properties]
15+
16+ jpa :
17+ database-platform : org.hibernate.dialect.MySQLDialect
18+ hibernate :
19+ ddl-auto : update # [none | validate | update | create | create-drop]
20+
21+ security :
22+ oauth2 :
23+ client :
24+ registration :
25+ kakao :
26+ client-id : ${KAKAO_CLIENT_ID}
27+ authorization-grant-type : authorization_code
28+ client-name : Kakao
29+ redirect-uri : " {baseUrl}/login/oauth2/code/{registrationId}"
30+ scope : profile_nickname, profile_image, account_email
31+ naver :
32+ client-id : ${NAVER_CLIENT_ID}
33+ client-secret : ${NAVER_CLIENT_SECRET}
34+ client-name : Naver
35+ authorization-grant-type : authorization_code
36+ redirect-uri : " {baseUrl}/login/oauth2/code/{registrationId}"
37+ scope : email, nickname, profile_image
38+ google :
39+ client-id : ${GOOGLE_CLIENT_ID}
40+ client-secret : ${GOOGLE_CLIENT_SECRET}
41+ client-name : Google
42+ authorization-grant-type : authorization_code
43+ redirect-uri : " {baseUrl}/login/oauth2/code/{registrationId}"
44+ scope :
45+ - email
46+ - profile
47+ github :
48+ client-id : ${GITHUB_CLIENT_ID}
49+ client-secret : ${GITHUB_CLIENT_SECRET}
50+ client-name : GitHub
51+ authorization-grant-type : authorization_code
52+ redirect-uri : " {baseUrl}/login/oauth2/code/{registrationId}"
53+ scope : user:email
54+ provider :
55+ kakao :
56+ authorization-uri : https://kauth.kakao.com/oauth/authorize
57+ token-uri : https://kauth.kakao.com/oauth/token
58+ user-info-uri : https://kapi.kakao.com/v2/user/me
59+ user-name-attribute : id
60+ naver :
61+ authorization-uri : https://nid.naver.com/oauth2.0/authorize
62+ token-uri : https://nid.naver.com/oauth2.0/token
63+ user-info-uri : https://openapi.naver.com/v1/nid/me
64+ user-name-attribute : response
65+ google :
66+ authorization-uri : https://accounts.google.com/o/oauth2/v2/auth
67+ token-uri : https://oauth2.googleapis.com/token
68+ user-info-uri : https://www.googleapis.com/oauth2/v3/userinfo
69+ user-name-attribute : sub
70+ github :
71+ authorization-uri : https://github.com/login/oauth/authorize
72+ token-uri : https://github.com/login/oauth/access_token
73+ user-info-uri : https://api.github.com/user
74+ user-name-attribute : id
75+
1676springdoc :
1777 default-produces-media-type : application/json;charset=UTF-8
1878
79+ logging :
80+ level :
81+ org.hibernate.orm.jdbc.bind : OFF
82+ org.springframework.web.socket : INFO
83+ org.springframework.messaging : INFO
84+
1985jwt :
20- secret : ${JWT_SECRET:test-jwt-secret-key-12345678901234567890 } # 운영 시에는 반드시 환경 변수로 설정할 것
86+ secret : ${JWT_SECRET} # 운영 시에는 반드시 환경 변수로 설정할 것
2187 access-token-expiration : ${JWT_ACCESS_TOKEN_EXPIRATION:1800} # 30분 (초 단위)
22- refresh-token-expiration : ${JWT_REFRESH_TOKEN_EXPIRATION:604800} # 7일 (초 단위)
88+ refresh-token-expiration : ${JWT_REFRESH_TOKEN_EXPIRATION:604800} # 7일 (초 단위)
89+
90+ # 스터디룸 설정
91+ studyroom :
92+ heartbeat :
93+ timeout-minutes : 5 # Heartbeat 타임아웃 (분)
94+ default :
95+ max-participants : 10 # 기본 최대 참가자 수
96+ allow-camera : true
97+ allow-audio : true
98+ allow-screen-share : true
0 commit comments