37 lines
766 B
YAML
37 lines
766 B
YAML
spring:
|
|
datasource:
|
|
url: jdbc:mysql://localhost:3306/crawlful_hub?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
|
|
username: root
|
|
password: 123456
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
hikari:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 5
|
|
idle-timeout: 30000
|
|
connection-timeout: 20000
|
|
max-lifetime: 1800000
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: update
|
|
show-sql: true
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
password:
|
|
database: 0
|
|
security:
|
|
jwt:
|
|
secret: your-secret-key
|
|
expiration: 86400000
|
|
springdoc:
|
|
api-docs:
|
|
path: /api-docs
|
|
swagger-ui:
|
|
path: /swagger-ui.html
|
|
enabled: true
|
|
|
|
server:
|
|
port: 3001
|
|
servlet:
|
|
context-path: /api
|