94 lines
2.2 KiB
YAML
94 lines
2.2 KiB
YAML
server:
|
|
port: 8911
|
|
|
|
spring:
|
|
application:
|
|
name: atu-data-mgr-cxq
|
|
cloud:
|
|
inetutils:
|
|
timeout-seconds: 10
|
|
nacos:
|
|
discovery:
|
|
namespace: ${NACOS_NAMESPACE:CCTP_PLUS_DEV}
|
|
server-addr: ${NACOS_SERVER_URL:192.168.77.26:8848}
|
|
config:
|
|
enabled: false
|
|
namespace: ${spring.cloud.nacos.discovery.namespace}
|
|
# 配置中心地址
|
|
server-addr: ${spring.cloud.nacos.discovery.server-addr}
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
# 长轮询的超时时间
|
|
config-long-poll-timeout: ${NACOS_LONG_POLL_TIMEOUT:180000}
|
|
# 共享配置
|
|
shared-configs[0]:
|
|
data_id: application-common-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
group: DEFAULT_GROUP
|
|
refresh: true
|
|
datasource:
|
|
name: Hikari-CCTP
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://192.168.77.26:3306/atu_data_mgr?allowMultiQueries=true&useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
username: northking
|
|
password: northking@002987
|
|
# initialization-mode: always
|
|
# schema: classpath:db/mysql/schema/*.sql
|
|
# data: classpath:db/mysql/data/*.sql
|
|
hikari:
|
|
minimum-idle: 2
|
|
maximum-pool-size: 5
|
|
auto-commit: true
|
|
redis:
|
|
host: 192.168.77.26
|
|
port: 6379
|
|
password: northking@002987
|
|
database: 1
|
|
lettuce:
|
|
pool:
|
|
max-active: 2
|
|
max-idle: 2
|
|
rabbitmq:
|
|
host: 172.16.77.26
|
|
port: 5672
|
|
virtual-host: cloud
|
|
username: cloud
|
|
password: 123456
|
|
jackson:
|
|
serialization:
|
|
write-dates-as-timestamps: true
|
|
|
|
|
|
logging:
|
|
config: classpath:logback-rabbitmq.xml
|
|
|
|
mybatis:
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
mapper-locations: classpath*:mybatis/**/*.xml
|
|
type-aliases-package: net.northking.cctp.dataPool.db.entity
|
|
configuration-properties:
|
|
defaultSchema: atu_data_mgr
|
|
|
|
nk:
|
|
security:
|
|
include-urls:
|
|
- "/v1/*"
|
|
swagger2:
|
|
basePackage: net.northking.cctp
|
|
title: ${spring.application.name}
|
|
description: description
|
|
version: 2.9.2
|
|
platform:
|
|
examString: test
|
|
examObj:
|
|
ip: 110.110.110.110
|
|
port: 9527
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|