-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication.properties
More file actions
44 lines (31 loc) · 1.22 KB
/
application.properties
File metadata and controls
44 lines (31 loc) · 1.22 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
spring.application.name=SayUp
spring.datasource.url=jdbc:mysql://${DB_CONNECTION}/${DB_NAME}
spring.datasource.username=${DB_USERNAME}
spring.datasource.password=${DB_PASSWORD}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
# application.properties
jwt.secret=SnNvbldlYlRva2VuQXV0aGVudGljYXRpb25XaXRoU3ByaW5nQm9vdFRlc3RQcm9qZWN0U2VjcmV0S2V5Cg==
jwt.expiration=86400000
spring.main.allow-circular-references=true
# ??? ?? ?? ??
file.upload-dir=${FILE_UPLOAD_DIR}
spring.servlet.multipart.enabled=true
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
openai.api.url=https://api.openai.com/v1/chat/completions
openai.api.key=${API_KEY}
python.server.url=http://127.0.0.1:8000
# Swagger UI ?? ??
springdoc.swagger-ui.path=/swagger-ui.html
# API ?? ??
springdoc.api-docs.path=/v3/api-docs
# Swagger UI ?? ??
springdoc.swagger-ui.tags-sorter=alpha
springdoc.swagger-ui.operations-sorter=alpha
# API ?? ??
springdoc.packages-to-scan=com.sayup.SayUp.controller
kakao.client_id=${KAKAO}
kakao.redirect_uri=http://localhost:8080/api/auth/kakao/callback