2
0
Files
build.wfc/build/docker/conf/default/application-common.yml
2025-02-07 18:30:51 +08:00

71 lines
1.6 KiB
YAML

spring:
autoconfigure:
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# i18n resource file path
messages:
# i18n resource file path
basename: optional:file:/opt/wfc/conf/i18n/messages,i18n/messages
# Enable remote debugging
devtools:
remote:
secret: 123456
# feign config
feign:
sentinel:
enabled: true
okhttp:
enabled: false
httpclient:
enabled: true
disable-ssl-validation: true
client:
config:
default:
connectTimeout: 60000
readTimeout: 60000
compression:
request:
enabled: true
min-request-size: 8192
response:
enabled: true
# eureka config
management:
endpoints:
web:
exposure:
include: '*'
mail:
enabled: true
host: mail.agrandtech.com
port: 465
# Enable authentication
auth: true
# Sender, follows RFC-822 standard
from: support <smtpex@agrantech.com>
# User name
user: smtpex
# Password
pass: Admin123@pl
# Use TLS security connection
starttlsEnable: true
# Use SSL security connection
sslEnable: true
# Timeout value for sending mail, in milliseconds
timeout: 0
# Connection timeout value, in milliseconds
connectionTimeout: 0
# Omada config
omada:
# web url or host exp: 'https://192.168.2.249:8043'
omada-url: 'https://aps1-omada-northbound.tplinkcloud.com'
omadac-id: '10ccde5bfee5142b28a07f6146f41056'
client-id: '48b3be2083dd4fbdb5f7cfd5c3a4abb6'
client-secret: '2556dfcafe6d4288b3f0921aa6391c76'