2025-08-23 13:27:32 +08:00
|
|
|
spring.application.name=cApi
|
|
|
|
|
server.port=31001
|
|
|
|
|
server.servlet.context-path=/cApi
|
2025-08-31 19:23:19 +08:00
|
|
|
server.compression.enabled=true
|
|
|
|
|
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
|
|
|
|
|
server.tomcat.max-connections=200
|
|
|
|
|
server.tomcat.threads.max=100
|
|
|
|
|
server.tomcat.threads.min-spare=10
|
2025-08-23 13:27:32 +08:00
|
|
|
spring.datasource.url=jdbc:mysql://192.168.31.189:33069/work?useSSL=false&serverTimezone=UTC&characterEncoding=utf8
|
|
|
|
|
spring.datasource.username=dream
|
|
|
|
|
spring.datasource.password=info_dream
|
|
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
2025-08-31 19:23:19 +08:00
|
|
|
# ===============================
|
|
|
|
|
# Logging
|
|
|
|
|
# ===============================
|
|
|
|
|
logging.level.root=INFO
|
|
|
|
|
logging.level.com.example.webssh=DEBUG
|
|
|
|
|
logging.file.name=logs/webssh.log
|
|
|
|
|
logging.pattern.file=%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
|
|
|
|
|
# ===============================
|
|
|
|
|
# Custom WebSSH
|
|
|
|
|
# ===============================
|
|
|
|
|
webssh.ssh.connection-timeout=30000
|
|
|
|
|
webssh.ssh.session-timeout=1800000
|
|
|
|
|
webssh.ssh.max-connections-per-user=10
|
|
|
|
|
webssh.file.upload-max-size=100MB
|
|
|
|
|
webssh.file.temp-dir=/ogsapp/temp/webssh-uploads
|
|
|
|
|
webssh.collaboration.enabled=true
|
|
|
|
|
webssh.collaboration.max-participants=10
|
|
|
|
|
webssh.collaboration.session-timeout=3600000
|