report-detect/temp_classpath/BOOT-INF/classes/application.yml

56 lines
1.1 KiB
YAML
Raw Normal View History

2026-02-05 13:57:22 +08:00
server:
port: 8080
servlet:
context-path: /report-detect-api
spring:
application:
name: report-detect-backend
datasource:
dynamic:
primary: master
datasource:
master:
url: jdbc:postgresql://localhost:5432/report_detect
username: postgres
password: 123456
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
format_sql: true
mail:
host: smtp.sendcloud.net
port: 25
username: chinaweal
password: 0d35e8a90b6d3e2796b98ec2b8e54cc6
properties:
mail:
smtp:
auth: true
starttls:
enable: false
# Sa-Token Config
sa-token:
token-name: satoken
timeout: 2592000
active-timeout: -1
is-concurrent: true
is-share: true
token-style: uuid
is-log: true
is-read-header: true
# App Custom Config
app:
file:
upload-dir: ./data/uploads
preview-dir: ./data/previews
attachment-dir: ./data/attachments