-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication-dev.yml
More file actions
99 lines (87 loc) · 1.79 KB
/
application-dev.yml
File metadata and controls
99 lines (87 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
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
## port number
server:
port: 9000
env: dev
spring:
## Database
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${EATSSU_DB_URL_DEV}
username: ${EATSSU_DB_USERNAME}
password: ${EATSSU_DB_PASSWORD}
hikari:
maximum-pool-size: 200
minimum-idle: 10
connection-timeout: 2500
connection-init-sql: SELECT 1
validation-timeout: 2000
idle-timeout: 600000
max-lifetime: 1800000
## JPA
jpa:
hibernate:
ddl-auto: none
properties:
hibernate:
jdbc:
lob:
non_contextual_creation: true
format_sql: false
show_sql: true
servlet:
multipart:
max-file-size: 20MB
max-request-size: 20MB
## Auth
jwt:
secret:
key: ${EATSSU_JWT_SECRET_DEV}
token-validity-in-seconds: 60
refresh-token-validity-in-seconds: 180
#S3
cloud:
aws:
credentials:
accessKey: ${EATSSU_AWS_ACCESS_KEY_DEV}
secretKey: ${EATSSU_AWS_SECRET_KEY_DEV}
s3:
bucket: eatssu-bucket
region:
static: ap-northeast-2
stack:
auto: false
#Slack
slack:
token: ${EATSSU_SLACK_TOKEN}
#Swagger
swagger:
url: ${EATSSU_DEV_DOMAIN}
description: Test Server Swagger API
springdoc:
swagger-ui:
path: /swagger-ui.html
groups-order: DESC
operationsSorter: method
disable-swagger-default-url: true
display-request-duration: true
api-docs:
path: /v3/api-docs
show-actuator: true
default-consumes-media-type: application/json
default-produces-media-type: application/json
paths-to-match:
- /**
logging:
level:
root: INFO
com.zaxxer.hikari: INFO
management:
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
web:
exposure:
include: health, info, metrics, prometheus