96 lines
2.7 KiB
YAML
96 lines
2.7 KiB
YAML
eureka:
|
|
client:
|
|
serviceUrl:
|
|
defaultZone: http://${eureka-host:localhost}:8077/eureka
|
|
instance:
|
|
prefer-ip-address: true
|
|
server:
|
|
port: 9981
|
|
|
|
spring:
|
|
datasource:
|
|
driver-class-name: org.opengauss.Driver
|
|
# url: jdbc:opengauss://${db-host:192.168.8.241}:${db-port:15000}/${db-name:bridb}
|
|
# username: ${db-username:bripg}
|
|
# password: ${db-passwd:Chuangrui139*}
|
|
url: jdbc:opengauss://${db-host:192.168.1.211}:${db-port:6600}/${db-name:bridb}
|
|
username: ${db-username:bripg}
|
|
password: ${db-passwd:Chuangrui139*}
|
|
servlet:
|
|
multipart:
|
|
enabled: true
|
|
max-file-size: 2048MB
|
|
max-request-size: 2048MB
|
|
http:
|
|
encoding:
|
|
charset: utf-8
|
|
enabled: true
|
|
jpa:
|
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
|
hibernate:
|
|
ddl-auto: validate
|
|
show-sql: true
|
|
properties:
|
|
hibernate:
|
|
hbm2ddl:
|
|
import_files: import.sql
|
|
|
|
data:
|
|
mongodb:
|
|
uri: ${mongo-uri:mongodb://bjtds:bjtds2019@localhost:27017/bjtds}
|
|
|
|
application:
|
|
name: infra-service
|
|
redis:
|
|
database: 0
|
|
host: ${redis-host:localhost}
|
|
port: ${redis-port:6379}
|
|
password: ${redis-password:}
|
|
jedis:
|
|
pool:
|
|
max-active: 200
|
|
max-wait: -1
|
|
max-idle: 10
|
|
min-idle: 0
|
|
timeout: 5000
|
|
|
|
bjtds:
|
|
shiro:
|
|
anno-accessible-uris: /sessions;/sessions/;/locations;/identification/qrcode;/sso/config;/sso/oauth2/user
|
|
user-photo:
|
|
save-path:
|
|
${user-photo-save-path:D:/guangtie/sr-root/static-resources/photos}
|
|
files:
|
|
save-path:
|
|
${files-save_path:D:/guangtie/sr-root/static-resources/files}
|
|
officialdoc:
|
|
limits:
|
|
editable: "officialdoc:edit"
|
|
menu-icon-imgs:
|
|
save-path:
|
|
${menu-icon-imgs-save_path:D:/guangtie/sr-root/static-resources/menu-icon-imgs}
|
|
mqtt:
|
|
host: tcp://${mqtt-hostname:localhost}:${mqtt-port:1883}
|
|
auth:
|
|
username: ${mqtt-username:bjtds}
|
|
password: ${mqtt-password:bjtds2019}
|
|
faceproc:
|
|
algorithm-host-url-prefix: https://localhost:9733
|
|
auth:
|
|
max-retry: 5
|
|
failure-freeze-timespan: 600
|
|
# 单点登录, OAuth2
|
|
sso:
|
|
oauth2:
|
|
oauth_ip: ${sso-oauth2-oauthIp:192.168.9.131}
|
|
client_id: ${sso-oauth2-clientId:887415037709254656}
|
|
client_secret: ${sso-oauth2-clientSecret:SZ40MTEwODIwMjMxNjMxMzc5OTUd1c}
|
|
redirect_uri: ${sso-oauth2-redirectUri:https://192.168.10.157/}
|
|
|
|
# 台账表单背景图存储位置
|
|
background-image:
|
|
save-path: ${standingbook-background-image:D:/guangtie/sr-root/static-resources/picture/standingbook}
|
|
# SQL低代码配置文件的存放路径
|
|
sql-customable-config:
|
|
file-root: ${sql-customable-config-file-root:D:/guangtie/sr-root/static-resources/sql-customable-config}
|