隐患排查APP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.9 KiB

server:
port: 1959
servlet:
context-path: /HiatmpPro/commond
#运行模式 开发环境:dev 测试环境:test 生产环境: production
run-mode: dev
spring:
application:
name: urbantraffic-hiatmp-base
cloud:
nacos:
discovery:
server-addr: 10.16.3.178:8848
#server-addr: localhost:8848
#6.1管控平台数据库地址、账号、密码,根据项目现场进行修改
datasource:
primary:
jdbc-url: jdbc:postgresql://118.89.79.160:5432/postgres
username: postgres
password: postgres
# 下面为数据库连接池相关参数,一般不需修改
driver-class-name: org.postgresql.Driver
type: com.alibaba.druid.pool.DruidDataSource
# 配置获取连接等待超时的时间,单位毫秒
maxWait: 60000
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位毫秒
time-between-eviction-runs-millis: 60000
# 配置一个连接在池中最小生存的时间,单位毫秒
min-evictable-idle-time-millis: 300000
validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
redis:
database: 0
host: 10.16.3.179
port: 6379
password: Hiface.1
timeout: 10000
pagehelper:
helper-dialect: postgresql
reasonable: true
support-methods-arguments: true
default-page-size: 10
params: count=countSql
# 登录过期时间
expiration:
time: 60 * 60 * 24
file:
path:
local:
/www/wwwroot/hiatmp/pic
ssoUrl: http://10.16.3.178:801
# 下面部分为mybatis及log配置,一般不需修改
mybatis:
mapper-locations: classpath*:sql-mapper/*.xml
mapUnderscoreToCamelCase: true
logging:
config: classpath:log4j2.xml
jasypt:
encryptor:
password: G0CvDz7oJn6
encrypted: 0
keys:
- spring.datasource.primary.password
- spring.datasource.primary.username
- spring.datasource2.password
- spring.datasource2.username
- spring.datasource3.password
- spring.datasource3.username
addUserUrl: 157.3.132.31:50083/system/user/gs/add