spring.application.name=ems-backend # =================================================================== # 移除数据库相关配置,使用JSON文件存储 # =================================================================== file.upload-dir=./uploads # A secure key for signing JWT tokens. # This should be a long, random, Base64-encoded string. # For production, this should be stored securely (e.g., as an environment variable). token.signing.key=${TOKEN_SIGNING_KEY:dev-change-me} # =================================================================== # c. Volcano Engine AI Service Configuration # =================================================================== volcano.api.url=https://ark.cn-beijing.volces.com/api/v3/chat/completions volcano.api.key=${VOLCANO_API_KEY:} volcano.model.name=deepseek-v3-250324 # =================================================================== # d. Spring AOP Configuration # =================================================================== # Force the use of CGLIB proxies for AOP spring.aop.proxy-target-class=true # =================================================================== # e. Application Base URL # =================================================================== # This URL is used to construct absolute URLs for resources like uploaded files. # It should be the public-facing base URL of the application. app.base.url=${APP_BASE_URL:http://localhost:5173} # =================================================================== # Mail Configuration for 163 SMTP # =================================================================== spring.mail.host=smtp.163.com spring.mail.port=465 spring.mail.username=${SPRING_MAIL_USERNAME:} spring.mail.password=${SPRING_MAIL_PASSWORD:} spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.ssl.enable=true spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory spring.mail.properties.mail.smtp.socketFactory.fallback=false spring.mail.properties.mail.smtp.socketFactory.port=465 spring.mail.properties.mail.transport.protocol=smtp spring.mail.properties.mail.debug=true # =================================================================== # Server Configuration # =================================================================== server.port=8080 # =================================================================== # Logging Configuration # =================================================================== logging.level.root=INFO logging.level.com.dne.ems=DEBUG logging.level.org.springframework.web=INFO logging.level.org.hibernate=WARN # =================================================================== # JWT Configuration # =================================================================== jwt.secret=${JWT_SECRET:dev-change-me} jwt.expiration=86400000 # =================================================================== # Spring Task Configuration # =================================================================== spring.task.execution.pool.core-size=5 spring.task.execution.pool.max-size=10 spring.task.execution.pool.queue-capacity=25 spring.task.execution.thread-name-prefix=ems-async-