# 生产环境配置 server: port: 48081 servlet: context-path: /sftp-manager tomcat: max-threads: 200 accept-count: 100 spring: datasource: url: jdbc:h2:file:./data/sftp-manager username: ${DB_USERNAME:sa} password: ${DB_PASSWORD:} hikari: maximum-pool-size: 10 minimum-idle: 5 jpa: hibernate: ddl-auto: update show-sql: false servlet: multipart: max-file-size: 500MB max-request-size: 2GB app: cors: allowed-origins: ${APP_CORS_ALLOWED_ORIGINS:http://localhost:48081} sftp: session-timeout: 60000 session-cleanup-interval: 60000 connection-timeout: 30000 max-retries: 5 strict-host-key-checking: ${SFTP_STRICT_HOST_KEY_CHECKING:false} known-hosts-path: ${KNOWN_HOSTS_PATH:} # Actuator 生产环境暴露健康与指标 management: endpoints: web: exposure: include: health,info,metrics endpoint: health: show-details: always logging: file: name: ./logs/sftp-manager.log level: root: INFO com.sftp.manager: INFO